[BangPypers] How to check file size before downloading it

S.Ramaswamy srsy70 at gmail.com
Fri May 9 06:43:18 CEST 2008


On Thu, May 8, 2008 at 11:15 AM, Gurpreet Sachdeva
<gurpreet.sachdeva at gmail.com> wrote:
> Yeah thats what I found. Any idea what settings need to be done in the
> webserver (Apache) to report content-length header? Or any other
> alternative?
>
> Thanks for your help,
> Gurpreet
>
AFAIK, Apache 2 reports Content-Length by default. mod_headers can be
used to configure HTTP headers (
http://httpd.apache.org/docs/2.0/mod/mod_headers.html ). You might
want to check the config files.

HTH
Ramaswamy


More information about the BangPypers mailing list