Re: [Patch] http_fopen_wrapper.c and allowing any response code w/o warning
| From: | Alexey Zakhlestin | Date: | Fri, 02 Nov 2007 16:44:54 +0000 |
| Subject: | Re: [Patch] http_fopen_wrapper.c and allowing any response code w/o warning | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-33007@lists.php.net to get a copy of this message | ||
On 11/2/07, Jared Williams <jared.williams1@ntlworld.com> wrote:
>
> Yes, had fun with trying to use http php streams ... Imo, 2xx status codes
> should always be considered succesful.
I believe, that there should be possibility to get even the document
with 404th status (as the error-page might be valuable too).
Streams have a nice api for notifications — that should be enough for
error handling. No need to return false and give a warning (at least,
when notifications are handled).
--
Alexey Zakhlestin
http://blog.milkfarmsoft.com/