pike.git / lib / modules / Protocols.pmod / HTTP.pmod / module.pmod

version» Context lines:

pike.git/lib/modules/Protocols.pmod/HTTP.pmod/module.pmod:54:   constant HTTP_INTERNAL_ERR = 500; // RFC 2616 10.5.1: Internal Server Error   constant HTTP_NOT_IMPL = 501; // RFC 2616 10.5.2: Not Implemented   constant HTTP_BAD_GW = 502; // RFC 2616 10.5.3: Bad Gateway   constant HTTP_UNAVAIL = 503; // RFC 2616 10.5.4: Service Unavailable   constant HTTP_GW_TIMEOUT = 504; // RFC 2616 10.5.5: Gateway Timeout   constant HTTP_UNSUPP_VERSION = 505; // RFC 2616 10.5.6: HTTP Version Not Supported   constant TCN_VARIANT_NEGOTIATES = 506; // RFC 2295 8.1: Variant Also Negotiates   constant DAV_STORAGE_FULL = 507; // RFC 2518 10.6: Insufficient Storage      //! Makes an HTTP request through a proxy. + //! + //! @param proxy + //! URL for the proxy. + //! + //! @param user + //! @param password + //! Proxy authentication credentials. + //! + //! @param method + //! @param url + //! @param query_variables + //! @param request_headers + //! @param con + //! @param data + //! The remaining arguments are identical to @[do_method()]. + //! + //! @seealso + //! @[do_method()], @[do_async_proxied_method()]   .Query do_proxied_method(string|Standards.URI proxy,    string user, string password,    string method,    string|Standards.URI url,    void|mapping(string:int|string|array(string)) query_variables,    void|mapping(string:string|array(string)) request_headers,    void|Protocols.HTTP.Query con, void|string data)   {    // Make sure we don't propagate our changes to the    // url and proxy objects below to the caller.