Re: Patch for HTTP successful status codes
| From: | Hannes Magnusson | Date: | Tue, 29 Jul 2008 07:20:50 +0000 |
| Subject: | Re: Patch for HTTP successful status codes | ||
| References: | 1 2 3 4 5 6 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-39428@lists.php.net to get a copy of this message | ||
On Tue, Jul 29, 2008 at 05:50, Edward Z. Yang
<edwardzyang@thewritingpot.com> wrote:
> Edward Z. Yang wrote:
>> It's a configurable option (don't have the code in front of me, so no
>> proof, sorry). You can set redirects = 0, and have http not follow any
>> redirects.
>
> Whoops, I'm talking about pecl/http, not the http wrapper. Disregard the
> above.
No. You are right. You can turn it off:
http://no2.php.net/manual/en/context.http.php#context.http.max-redirects
-Hannes