Requests_Cookie::parse( $string,  $name = ,  $reference_time = null ): Requests_Cookie

In this article

Parse a cookie string into a cookie object

Description

Based on Mozilla’s parsing code in Firefox and related projects, which is an intentional deviation from RFC 2109 and RFC 2616. RFC 6265 specifies some of this handling, but not in a thorough manner.

Parameters

Cookie header value (from a Set-Cookie header)

Return

Requests_Cookie Parsed cookie object

Source

User Contributed Notes

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