note 11636 added to header
| From: | faman at gmx dot de | Date: | Wed, 28 Feb 2001 16:37:53 +0000 |
| Subject: | note 11636 added to header | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-11664@lists.php.net to get a copy of this message | ||
--Incompatibility between HTTP/1.0 and /1.1--
something like:
header("Content-Type: application/pdf\n");
works fine with 1.0 but not with 1.1(at least in my case)
Try instead:
header("Content-Type: application/pdf");
even if you want to send more than one
header-line. \r makes same trouble.
Also:
squid seems to rewrite headers. In my case the proxy downgraded them from 1.1 to 1.0, which
is fun while debugging.
http://www.php.net/manual/en/function.header.php