View Source CookieJar.Cookie (cookie_jar v1.1.0)
Model individual Cookie as specified by the MDN doc Some of the functionalities are irrelevant so only the following attributes are kept: domain, include_subdomain, path, secure, expires, name and value
Summary
Functions
Return true if cookie2 is superseding cookie1. Only compare domain, path and name.
Return true if the cookie shall be sent to the uri
simple constructor
parse a cookie from the Set-Cookie: value. return nil if no valid cookie found
parse a cookie from the Set-Cookie: value. return nil if no valid cookie found taking additional infomatio ffrom the requesting URI
return name=value as string
Types
Functions
Return true if cookie2 is superseding cookie1. Only compare domain, path and name.
Return true if the cookie shall be sent to the uri
simple constructor
parse a cookie from the Set-Cookie: value. return nil if no valid cookie found
parse a cookie from the Set-Cookie: value. return nil if no valid cookie found taking additional infomatio ffrom the requesting URI
return name=value as string