HTTP Content-length question...

 I have a HTTP protocol question.

I have a simple HTTP client that requests an object from a HTTP server using
the GET method. Now, the client is written such that it mandatorily needs the
server to return the 'Content-length:' header in its response.

The problem I am facing is, this header is returned for most kind of objects
(image/gif, audio/au etc) but not for text/html. Is there any special form
of the GET request that will force the server to return the size of the object
(the 'Content-length:' header) irrespective of its MIME type ?

Thanks for your help!
Srivatsa Srinivasan

--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
|                   Srivatsa Belur Srinivasan                       |
| 211, Atanasoff Hall,                   246,N. Hyland Avenue, #208 |
| Iowa State University,                 Ames, IA 50014, USA        |
| Email : srinivas@iastate.edu           Phone : (515) 292-5458     |
| WWW   : http://www.public.iastate.edu/~srinivas                   |
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
For A Deterministic Finite State Patrol On The Information Superhighway.

Received on Sunday, 7 May 1995 15:52:09 UTC