Extracted from Pike v7.4 release 97 at 2004-08-02.
pike.ida.liu.se
[Top]
predef::
Protocols
Protocols.HTTP

Method Protocols.HTTP.get_url_data()


Method get_url_data

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

Description

Returns an array of ({content_type,data}) and just the data string respective, after calling the requested server for the information. 0 is returned upon failure.