Re: Patch for HTTP successful status codes
| From: | Edward Z. Yang | Date: | Tue, 29 Jul 2008 03:48:35 +0000 |
| Subject: | Re: Patch for HTTP successful status codes | ||
| References: | 1 2 3 4 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-39423@lists.php.net to get a copy of this message | ||
Noah Fontes wrote:
> I think PHP implicitly follows any Location headers it can. That's
> probably not the right behavior, but for an automated process it's not bad.
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.
--
Edward Z. Yang GnuPG: 0x869C48DA
HTML Purifier <http://htmlpurifier.org> Anti-XSS Filter
[[ 3FA8 E9A9 7385 B691 A6FC B3CB A933 BE7D 869C 48DA ]]