Pyjo.Cookie.Request - HTTP request cookie¶
Pyjo.Cookie.Request
cookie = Pyjo.Cookie.Request.new()
cookie.name = 'foo'
cookie.value = 'bar'
print(cookie)
Pyjo.Cookie.Request
is a container for HTTP request cookies based on
RFC 6265.
Classes¶
-
class
Pyjo.Cookie.Request.
Pyjo_Cookie_Request
(**kwargs)¶ Pyjo.Cookie.Request
inherits all attributes and methods fromPyjo.Cookie
and implements the following new ones.-
classmethod
parse
(string='')¶ cookies = Pyjo.Cookie.Request.parse('f=b; g=a')
Parse cookies.
-
to_str
()¶ string = cookie.to_str()
Render cookie.
-
classmethod
-
Pyjo.Cookie.Request.
object
¶ alias of
Pyjo_Cookie_Request