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

version» Context lines:

pike.git/lib/modules/Protocols.pmod/HTTP.pmod/Session.pike:1:   #pike __REAL_VERSION__    - // $Id: Session.pike,v 1.18 2007/11/23 14:19:09 srb Exp $ + // $Id: Session.pike,v 1.19 2007/11/23 14:20:36 srb Exp $      import Protocols.HTTP;      typedef string|Standards.URI|SessionURL URL;      //! The number of redirects to follow, if any.   //! This is the default to the created Request objects.   //!   //! A redirect automatically turns into a GET request,   //! and all header, query, post or put information is dropped.
pike.git/lib/modules/Protocols.pmod/HTTP.pmod/Session.pike:398:   multiset(Cookie) all_cookies=(<>);   mapping(string:mapping(string:Cookie)) cookie_lookup=([]);      // this class is internal for now, until there is a   // decent use for it externally      class Cookie   {    string key="?";    string data="?"; +  string site="?";    int expires=-1;    string path="/";    string domain=""; -  string site="?"; +     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,    Calendar.ISO.Second(expires)->format_http(),