Extracted from Pike v7.4 release 341 at 2005-11-30.
pike.ida.liu.se
[Top]
predef::
Protocols
Protocols.HTTP

Method Protocols.HTTP.put_url()


Method put_url

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

Description

Sends a HTTP PUT 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.