Edit report at https://bugs.php.net/bug.php?id=54995&edit=1

 ID:                 54995
 Updated by:         pierr...@php.net
 Reported by:        steven dot hartland at multiplay dot co dot uk
 Summary:            Missing CURLINFO_RESPONSE_CODE support
-Status:             Assigned
+Status:             Closed
 Type:               Feature/Change Request
 Package:            cURL related
 Operating System:   N/A
 PHP Version:        5.3.6
 Assigned To:        pierrick
 Block user comment: N
 Private report:     N

 New Comment:

This bug has been fixed in SVN.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.

 For Windows:

http://windows.php.net/snapshots/
 
Thank you for the report, and for helping us make PHP better.

Added in trunk


Previous Comments:
------------------------------------------------------------------------
[2011-11-23 05:45:17] pierr...@php.net

Automatic comment from SVN on behalf of pierrick
Revision: http://svn.php.net/viewvc/?view=revision&revision=319706
Log: Fixed bug #54995

------------------------------------------------------------------------
[2011-06-05 17:00:59] steven dot hartland at multiplay dot co dot uk

Description:
------------
As of libcurl 7.10.7 CURLINFO_HTTP_CODE is now known as CURLINFO_RESPONSE_CODE 
this doesn't seem to have been updated in ext/curl the result being a failure 
if 
CURLINFO_RESPONSE_CODE is used with curl_getinfo

Test script:
---------------
Try to use: curl_getinfo($ch, CURLINFO_RESPONSE_CODE);

Expected result:
----------------
curl_getinfo($ch, CURLINFO_RESPONSE_CODE) should return the same as 
curl_getinfo($ch, CURLINFO_HTTP_CODE) currently does.

Actual result:
--------------
Always fails as CURLINFO_RESPONSE_CODE isn't defined


------------------------------------------------------------------------



-- 
Edit this bug report at https://bugs.php.net/bug.php?id=54995&edit=1

Reply via email to