[8156] in www-talk@info.cern.ch

home help back first fref pref prev next nref lref last post

HTTP Content-length question...

daemon@ATHENA.MIT.EDU (Srivatsa Srinivasan)
Sun May 7 16:17:23 1995

Date: Sun, 7 May 1995 15:58:18 +0500
Errors-To: procmaster@www19.w3.org
Reply-To: srinivas@cs.iastate.edu
From: Srivatsa Srinivasan <srinivas@cs.iastate.edu>
To: Multiple recipients of list <www-talk@www10.w3.org>

Hello WWWorld,

 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.

home help back first fref pref prev next nref lref last post