note 5809 deleted from HTTP functions by ronabop
| From: | ronabop@php.net | Date: | Sun, 20 Aug 2000 11:31:04 +0000 |
| Subject: | note 5809 deleted from HTTP functions by ronabop | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-2756@lists.php.net to get a copy of this message | ||
I was not able to make
<pre>
header("Content-type: application/xml")
</pre>
working if the method was POST. Instead, it returned the default
<pre>
Content-type: text/html
</pre>
and two error messages:
1. Warning: POST Error: Content-type missing in ...<path to the PHP script>... at line
0
2. Warning: cannot add more header information - the header was already sent ...
When I do the same with GET, no problem
(Apache 1.3.12/Win32, PHP 3.0.15/Win32 as CGI)