W3C home > Mailing lists > Public > ietf-http-wg-old@w3.org > January to April 1999

Re: GETs with Entity-Body ??

From: Kalvinder Singh <singh@ozy.dec.com>
Date: Tue, 19 Jan 1999 16:04:49 +1000
Message-Id: <36A42081.E123D57E@ozy.dec.com>
To: Robert Long <longr@conducent.com>
Cc: "'http-wg@cuckoo.hpl.hp.com'" <http-wg@cuckoo.hpl.hp.com>

Robert Long wrote:
> I am wondering whether GET requests are allowed to have an Entity-Body?

I can't see any reason why they would not. I have written a small http
proxy, and I check for the "Content-Length" header to see if there is
any entity body, and not the METHOD (except for HEAD :).

> I have read through the HTTP RFC several times and have not been able to
> find a specific prohibition of this, however several colleagues of mine
> feel very strongly that GET requests are not permitted to provide an
> Entity-Body.

Well, it doesn't make any sense for the GET to have a body, since all
the information (both static and dynamic) are stored in the URL. So
maybe there is an implementation of a proxy and/or server that gets all
mixed up when there is a Body in a GET request.

I guess this might be one of those times where you are forced to find
out what the real world implementations do, by doing some testing...;)

If you do find out, could you tell me, since I too would like to know,
and am too lazy to work it out myself...;)


    .      Kalvinder Singh                     singh@ozy.dec.com
 _-_|\     Software Engineering Australia
/     \<-- Compaq       
\_.-._/    Research Park, Bond University      Phone: +61 7 5575 0106
     v     Gold Coast, Qld, 4229, Australia    Fax:   +61 7 5575 0100
Received on Tuesday, 19 January 1999 06:02:42 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:40:23 UTC