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

version» Context lines:

pike.git/lib/modules/Protocols.pmod/HTTP.pmod/module.pmod:309:       string path=url->path;    if(path=="") path="/";       con->sync_request(url->host,url->port,    method+" "+path+(query?("?"+query):"")+" HTTP/1.0",    request_headers, data);       if (!con->ok) {    if (con->errno) -  error ("I/O error: %s\n", strerror (con->errno)); +  error ("I/O error: %s.\n", strerror (con->errno));    return 0;    }    return con;   }      protected .Query do_udp_method(string method, 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)