Q: Content-Length to dynamic pages

Q: Content-Length to dynamic pages

Post by fim.. » Fri, 01 Dec 2000 14:20:36

Does anyone have any tips or pointers to some help on how I would add
the Content-Length directive on a dynamically generated response using C
modules?  I've been playing with Apache 1.3.9, on Debian 2.2, and I
haven't have much luck with using ap_set_content_length() after
generating my web page.


Sent via Deja.com http://www.deja.com/
Before you buy.


1. content-length not returned in some headers


I was looking at the headers some Apache servers return and noticed that the
server doesn't always return the content-length :(
I tried looking for a pattern, but it looks like it's random.  Apache sends
the length for some HTML files, and then doesn't for other ones....

for an example, try looking at the headers returned by something like

Does anyone know why that is ?  Also, this may not be only the Apache

Thanks !

eZines Database          -      <URL:http://www.dominis.com/Zines/>
eBooks Dominis Bookstore -      <URL:http://www.booksite.com/cgi-bin/zines>

2. Unix - Frequently Asked Questions (Contents) [Frequent posting]

3. MH vs. Content-Length: header

4. Suse 63... initial console prob.. spitting rivets...

5. Filters for Apache2 - removing Content-length

6. file permision

7. how to calculate Content-length ?

8. compaq proliant install

9. mailx and Content-Length: headers

10. Content-Length http header?

11. Apache/POST/Content-length

12. Apache 2.0: SSI with CGI misreports Content-length

13. Help: (mail) content-length/type headers not set