php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #47044 Confusion between Cookie & Set-Cookie in cURL doc
Submitted: 2009-01-09 01:28 UTC Modified: 2009-11-20 11:00 UTC
From: bmorel at ssi dot fr Assigned:
Status: Closed Package: Documentation problem
PHP Version: Irrelevant OS: Irrelevant
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: bmorel at ssi dot fr
New email:
PHP Version: OS:

 

 [2009-01-09 01:28 UTC] bmorel at ssi dot fr
Description:
------------
http://www.php.net/curl-setopt

Confusion between Cookie & Set-Cookie in the CURLOPT_COOKIE documentation.
Cookie is for client, and Set-Cookie for the server.
Here cURL is the client, and uses Cookie (verified in PHP implementation).

Expected result:
----------------
CURLOPT_COOKIE
The contents of the "Cookie: " header to be used in the HTTP request.

Actual result:
--------------
CURLOPT_COOKIE
The contents of the "Set-Cookie: " header to be used in the HTTP request.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2009-11-20 11:00 UTC] vrana@php.net
This bug has been fixed in the documentation's XML sources. Since the
online and downloadable versions of the documentation need some time
to get updated, we would like to ask you to be a bit patient.

Thank you for the report, and for helping us make our documentation better.


 [2009-11-20 11:00 UTC] svn@php.net
Automatic comment from SVN on behalf of vrana
Revision: http://svn.php.net/viewvc/?view=revision&revision=291062
Log: Sends Cookie header (bug #47044)
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Wed Jun 17 15:00:02 2026 UTC