RE: [PHP] Header problem
| From: | Andrea Giammarchi | Date: | Sun, 04 Oct 2009 16:51:47 +0000 |
| Subject: | RE: [PHP] Header problem | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-298563@lists.php.net to get a copy of this message | ||
> Afaik, the content length header is not necessary, but it will cause
> problems if it's set and it's wrong.
correct, missed Content-Length means the classic download with useless progress bar and undefined
estimation time, problematic for preloader as well in case of images, swf, generic data, etc.
Content_length should be always present and it should be correct, but obviously if there are print
or echo or other outputs non file related, Content-Length can simply mess up the response.
_________________________________________________________________
Windows Live: Friends get your Flickr, Yelp, and Digg updates when they e-mail you.
http://www.microsoft.com/middleeast/windows/windowslive/see-it-in-action/social-network-basics.aspx?ocid=PID23461::T:WLMTAGL:ON:WL:en-xm:SI_SB_3:092010