|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2006-04-02 13:20 UTC] Jared dot Williams1 at ntlworld dot com
Description: ------------ PHP HTTP stream wrapper does not treat all http 2xx status codes as successful, making it impossible to use with WebDAV. PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Oct 30 15:00:01 2025 UTC |
Could you elaborate on "not fixed" (preferably with a repro case)? The code added by Mike in 2008 seems pretty liberal: /* all status codes in the 2xx range are defined by the specification as successful; * all status codes in the 3xx range are for redirection, and so also should never * fail */ if (response_code >= 200 && response_code < 400) { reqok = 1;