ID: 26440 User updated by: steven at pearavenue dot com Reported By: steven at pearavenue dot com Status: Closed Bug Type: HTTP related Operating System: Linux PHP Version: 4.3.4 Assigned To: pollita New Comment:
Ah, but if this is the case then stream_get_meta_data should not fail after the resource fails - which the above example shows it does. Previous Comments: ------------------------------------------------------------------------ [2003-11-28 14:38:31] [EMAIL PROTECTED] RTM: http://uk.php.net/manual/en/wrappers.php search for $http_response_header ------------------------------------------------------------------------ [2003-11-28 14:04:23] steven at pearavenue dot com A footnote here. I am concerned that this behavior does not distinquish between a "If-Modified-Since" 304 and an honest to goodness error (e.g., a "Not Found" uri). The designers might consider some means to recover the response/error or a modification of this behavior. Let me know. ------------------------------------------------------------------------ [2003-11-28 13:57:19] steven at pearavenue dot com My thanks. I will confirm with the latest snap. Someone should document this 304 behavior - it is very useful. ------------------------------------------------------------------------ [2003-11-28 13:49:55] [EMAIL PROTECTED] This bug has been fixed in CVS. In case this was a PHP problem, 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/. In case this was a documentation problem, the fix will show up soon at http://www.php.net/manual/. In case this was a PHP.net website problem, the change will show up on the PHP.net site and on the mirror sites in short time. Thank you for the report, and for helping us make PHP better. PHP4 was missing certain context features that prevented it from sending any context headers other then user_agent. This is now fixed. Now in both PHP5 & PHP4 fopen() fails due to 304 response code. ------------------------------------------------------------------------ [2003-11-28 13:17:48] steven at pearavenue dot com This bug continues and is not bogus ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/26440 -- Edit this bug report at http://bugs.php.net/?id=26440&edit=1