On 20-Jun-05, at 8:55 AM, jean-frederic clere wrote:

and GET with content-length.

I think that is not forbidden in the rfc...
But what about returning HTTP_BAD_REQUEST if Content-Length is not 0?

I don't believe rfc2616 forbids GET requests to have entity-bodies, so it could be argued that rejecting such a request a priori is non-conformant. Obviously, if the handler for the request does not expect an entity-body, which would be the case in all the handlers I've seen, the request ought to be rejected.

On the other hand, from a pragmatic point of view, proxying GETs with entity-bodies to unknown downstream servers may cause them to misbehave. So there is a good argument for mod_proxy to reject such requests unless specifically instructed otherwise.

Reply via email to