Requests_Cookie_Jar::before_request( string $url, array $headers, array $data, string $type, array $options )

In this article

Add Cookie header to a request if we have any

Description

As per RFC 6265, cookies are separated by ‘; ‘

Parameters

$urlstringrequired
$headersarrayrequired
$dataarrayrequired
$typestringrequired
$optionsarrayrequired

Source

User Contributed Notes

You must log in before being able to contribute a note or feedback.