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

version» Context lines:

pike.git/lib/modules/Protocols.pmod/HTTP.pmod/module.pmod:80:   //! @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)   { +  if (!proxy || (proxy == "")) { +  return do_method(method, url, query_variables, request_headers, con, data); +  }    // Make sure we don't propagate our changes to the    // url and proxy objects below to the caller.    proxy = Standards.URI(proxy);    url = Standards.URI(url);       mapping(string:string|array(string)) proxy_headers;       if( user || password )    {    if( !request_headers )
pike.git/lib/modules/Protocols.pmod/HTTP.pmod/module.pmod:449:   //! @seealso   //! @[do_async_method()], @[do_proxied_method()], @[Query.set_callbacks()]   void do_async_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,    Protocols.HTTP.Query con, void|string data)   { +  if (!proxy || (proxy == "")) { +  do_async_method(method, url, query_variables, request_headers, con, data); +  return; +  }    // Make sure we don't propagate our changes to the    // url and proxy objects below to the caller.    proxy = Standards.URI(proxy);    url = Standards.URI(url);       if( (< "httpu", "httpmu" >)[url->scheme] ) {    error("Asynchronous httpu or httpmu not yet supported.\n");    }       mapping(string:string|array(string)) proxy_headers;