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

version» Context lines:

pike.git/lib/modules/Protocols.pmod/HTTP.pmod/module.pmod:58:    if (!con->ok) return 0;    return con;   }      array(string) get_url_nice(string url,void|mapping query_variables)   {    object c=get_url(url,query_variables);    return c && ({c->headers["content-type"],c->data()});   }    - array(string) get_url_data(string url,void|mapping query_variables) + string get_url_data(string url,void|mapping query_variables)   {    object z=get_url(url,query_variables);    return z && z->data();   }      object post_url(string url,mapping query_variables)   {    object con=master()->resolv("Protocols")["HTTP"]["Query"]();       string prot="http",host;
pike.git/lib/modules/Protocols.pmod/HTTP.pmod/module.pmod:100:    if (!con->ok) return 0;    return con;   }      array(string) post_url_nice(string url,mapping query_variables)   {    object c=post_url(url,query_variables);    return c && ({c->headers["content-type"],c->data()});   }    - array(string) post_url_data(string url,mapping query_variables) + string post_url_data(string url,mapping query_variables)   {    object z=post_url(url,query_variables);    return z && z->data();   }      //!   //! method string unentity(string s)   //! Helper function for replacing HTML entities   //! with the corresponding iso-8859-1 characters.   //! note: