Warning! You are currently reading the documentation for Requests 1.x.
It is recommended to upgrade to Requests 2.x at your earliest convenience.
Upgrading to Requests 2.x is fairly straight-forward.
A full list of the changes can be found in the Changelog.
Visit the documentation for Requests_Cookie_Jar
in Requests 2.x.
Class Requests_Cookie_Jar
Cookie holder object
- Requests_Cookie_Jar implements ArrayAccess, IteratorAggregate
public
|
|
public
|
#
normalize_cookie( string|
Normalise cookie data into a Requests_Cookie |
public
|
|
public
boolean
|
|
public
string|null
|
|
public
|
|
public
|
|
public
ArrayIterator
|
|
public
|
|
public
|
#
before_request( string $url, array & $headers, array & $data, string & $type, array & $options )
Add Cookie header to a request if we have any |
public
|
#
before_redirect_check(
Parse all cookies from a response and attach them to the response |
protected
array
|
$cookies
Actual item data |
#
array()
|