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

version» Context lines:

pike.git/lib/modules/Protocols.pmod/HTTP.pmod/Session.pike:406:    string domain="";    int secure=0;       string _sprintf(int t)    {    if (t=='O')    return sprintf(    "Cookie(%O: %O=%O; expires=%s; path=%O; domain=%O; secure=%d)",    site,    key,data, -  RUNTIME_RESOLVE(Calendar.ISO.Second)(expires)->format_http(), +  RUNTIME_RESOLV(Calendar.ISO.Second)(expires)->format_http(),    path,domain,secure);    }       void from_http(string s,Standards.URI at)    {    array v=array_sscanf(s,"%{%s=%[^;]%*[; ]%}%s");       site=at->host+":"+at->port;       if (sizeof(v)>=2 && lower_case(v[1])=="secure")