Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 90762 - PHP 4.3.11 doesn't set Content-Length using the header function
Summary: PHP 4.3.11 doesn't set Content-Length using the header function
Status: RESOLVED CANTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: x86 Linux
: High blocker (vote)
Assignee: PHP Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-04-28 13:40 UTC by Aury Fink Filho
Modified: 2005-05-31 15:35 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Aury Fink Filho 2005-04-28 13:40:08 UTC
Using the header function to set the Content-Length doesn't works with php 4.3.11 ... I'm sure that it will not work in 5.0.4 too, as a friend of mine tested in her gentoo server.

Reproducible: Always
Steps to Reproduce:
1.Create a php file with header("Content-Length: 100");
2.lynx --head --dump http://pathtofile.php
3.The content-length will not appear at the output
Comment 1 Elfyn McBratney (beu) (RETIRED) gentoo-dev 2005-05-18 02:30:13 UTC
Just an fyi: this has been reported upstream  
(http://bugs.php.net/bug.php?id=32906) and got marked as bogus.  What Rasmus 
says in the bug report is partly true, though it has been a long time since I 
have seen this, and it's no way the norm (at least, from checking ~20 
dynamic/php-based websites, they all report a correct 'Content-Length' header, 
of course, for many, their configuration/set-up is unknown to myself). 
 
As an aside, I can't reproduce this with Apache 2.0.54-r4 and mod_php-5.0.4 
here .. 
Comment 2 Stuart Herbert (RETIRED) gentoo-dev 2005-05-31 15:35:53 UTC
Hi,

Not quite sure what you expect us to do about this.  UPSTREAM has marked this as
a bogus bug.

Best regards,
Stu