> How about:
>
>   If there's nonzero-length content
>     And there isn't a Content-Length header
>       We go ahead and add one?
>
> Would that cause damage anywhere?
> If so, is there an alternate solution that would cause less (ideally
> no) damage?

I suppose it wouldn't hurt anything to simply add a Content-Length header
to every request (including those with zero-length content) if no such
header exists already.  Any HTTPd that blows up when it sees
Content-Length=0 on a GET request is buggy to begin with. =)

If there is zero-length content, we should still add Content-Length=0.

Tim

Reply via email to