svn: /phpdoc/en/trunk/reference/network/functions/ header.xml
| From: | Torben Wilson | Date: | Mon, 21 Sep 2009 09:08:26 +0000 |
| Subject: | svn: /phpdoc/en/trunk/reference/network/functions/ header.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-4963@lists.php.net to get a copy of this message | ||
torben Mon, 21 Sep 2009 09:08:26 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=288513
Log:
Document that a previously-set 201 status code will also affect the
magic handling of 'Location:'.
Addresses bug #49592.
Bug: http://bugs.php.net/49592 (Open) Incorrect description
of header() behavior
Changed paths:
U phpdoc/en/trunk/reference/network/functions/header.xml
Modified: phpdoc/en/trunk/reference/network/functions/header.xml
===================================================================
--- phpdoc/en/trunk/reference/network/functions/header.xml 2009-09-21 09:06:46 UTC (rev 288512)
+++ phpdoc/en/trunk/reference/network/functions/header.xml 2009-09-21 09:08:26 UTC (rev 288513)
@@ -75,8 +75,9 @@
<para>
The second special case is the "Location:" header. Not only does
it send this header back to the browser, but it also returns a
- <literal>REDIRECT</literal> (302) status code to the browser unless
- some <literal>3xx</literal> status code has already been set.
+ <literal>REDIRECT</literal> (302) status code to the browser
+ unless the <literal>201</literal> or
+ a <literal>3xx</literal> status code has already been set.
</para>
<para>
<informalexample>