W3C libwww Using

The Response Class

The response object is created as a placeholder for the response received by the remote server. All filters can use the information stored in the response and act appropriately. This is often used by the AFTER filters which can handle authentication, redirection, etc. See the filter section for more information on this.

The Response object is created automatically when we start to receive metainformation (for example MIME headers) and bound to the Request object. The Response object is deleted automatically when the corresponding request object is deleted but it can of course be deleted before if this is desired.

Note that is using non-blocking sockets then libwww essentially behaves asynchronously as you may issue multiple requests and get back the responses out of order as they appear on the net interface.

DocumentationConstructors, Destructors and Methods


Henrik Frystyk Nielsen, libwww@w3.org,
@(#) $Id: Response.html,v 1.2 1996/12/09 03:24:28 jigsaw Exp $