note 101665 added to function.header
| From: | anthon at piwik dot org | Date: | Mon, 03 Jan 2011 16:24:25 +0000 |
| Subject: | note 101665 added to function.header | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-175410@lists.php.net to get a copy of this message | ||
I see a couple of notes where multiple Content-Type headers are sent. Don't do that.
RFC2616 only presents two scenarios for multiple Content-Type headers in a response:
1. a "300 Multiple Choice" status for agent-drive negotiation, or
2. a response containing multi-part content.
Note also that multiple Content-Type headers reportedly breaks FastCGI.
----
Server IP: 69.147.83.197
Probable Submitter: 216.99.58.163
----
Manual Page -- http://www.php.net/manual/en/function.header.php
Edit -- https://master.php.net/note/edit/101665
Del: integrated -- https://master.php.net/note/delete/101665/integrated
Del: useless -- https://master.php.net/note/delete/101665/useless
Del: bad code -- https://master.php.net/note/delete/101665/bad+code
Del: spam -- https://master.php.net/note/delete/101665/spam
Del: non-english -- https://master.php.net/note/delete/101665/non-english
Del: in docs -- https://master.php.net/note/delete/101665/in+docs
Del: other reasons-- https://master.php.net/note/delete/101665
Reject -- https://master.php.net/note/reject/101665
Search -- https://master.php.net/manage/user-notes.php