Cookie storage object
Methods
Name | Description |
---|---|
Requests_Cookie::__construct | Create a new cookie object |
Requests_Cookie::__toString | Get the cookie value |
Requests_Cookie::domain_matches | Check if a cookie is valid for a given domain |
Requests_Cookie::format_for_header | Format a cookie for a Cookie header |
Requests_Cookie::format_for_set_cookie | Format a cookie for a Set-Cookie header |
Requests_Cookie::formatForHeader | Format a cookie for a Cookie header — deprecated |
Requests_Cookie::formatForSetCookie | Format a cookie for a Set-Cookie header — deprecated |
Requests_Cookie::is_expired | Check if a cookie is expired. |
Requests_Cookie::normalize | Normalize cookie and attributes |
Requests_Cookie::normalize_attribute | Parse an individual cookie attribute |
Requests_Cookie::parse | Parse a cookie string into a cookie object |
Requests_Cookie::parse_from_headers | Parse all Set-Cookie headers from request headers |
Requests_Cookie::parseFromHeaders | Parse all Set-Cookie headers from request headers — deprecated |
Requests_Cookie::path_matches | Check if a cookie is valid for a given path |
Requests_Cookie::uri_matches | Check if a cookie is valid for a given URI |
User Contributed Notes
You must log in before being able to contribute a note or feedback.