Extracted from Pike v7.4 release 117 at 2004-07-26.
pike.ida.liu.se
[Top]
predef::
Protocols
Protocols.HTTP

Method Protocols.HTTP.get_url()


Method get_url

Protocols.HTTP.Query Protocols.HTTP.get_url(string|Standards.URI url)
Protocols.HTTP.Query Protocols.HTTP.get_url(string|Standards.URI url, mapping query_variables)
Protocols.HTTP.Query Protocols.HTTP.get_url(string|Standards.URI url, mapping query_variables, mapping request_headers)
Protocols.HTTP.Query Protocols.HTTP.get_url(string|Standards.URI url, mapping query_variables, mapping request_headers, Protocols.HTTP.Query query)

Description

Sends a HTTP GET request to the server in the URL and returns the created and initialized Query object. 0 is returned upon failure. If a query object having request_headers->Connection=="Keep-Alive" from a previous request is provided and the already established server connection can be used for the next request, you may gain some performance.