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

version» Context lines:

pike.git/lib/modules/Protocols.pmod/HTTP.pmod/module.pmod:186:    + MIME.encode_base64((user || "") + ":" + (password || ""));    }       if (url->scheme == "http") {    if( query_variables )    url->set_query_variables( url->get_query_variables() +    query_variables );    string web_url = (string)url;       // Note: url object is wrecked here +  url->scheme = proxy->scheme;    url->host = proxy->host;    url->port = proxy->port;    query_variables = url->query = 0;    url->path = web_url;    } else if (url->scheme == "https") {   #ifdef HTTP_QUERY_DEBUG    werror("Proxied SSL request.\n");   #endif    if (!con || (con->host != url->host) || (con->port != url->port)) {    // Make a CONNECT request to the proxy,
pike.git/lib/modules/Protocols.pmod/HTTP.pmod/module.pmod:534:    + MIME.encode_base64((user || "") + ":" + (password || ""));    }       if (url->scheme == "http") {    if( query_variables )    url->set_query_variables( url->get_query_variables() +    query_variables );    string web_url = (string)url;       // Note: url object is wrecked here +  url->scheme = proxy->scheme;    url->host = proxy->host;    url->port = proxy->port;    query_variables = url->query = 0;    url->path = web_url;    } else if(url->scheme == "https") {   #ifdef HTTP_QUERY_DEBUG    werror("Proxied SSL request.\n");   #endif    if (!con || (con->host != url->host) || (con->port != url->port)) {    // Make a CONNECT request to the proxy,