Colin McCormack - 2010-05-31

The HTTP spec doesn't really countenance either test. IIRC, it should be possible to determine the encoding type of the request from TE, content-encoding or similar fields. One can't rely upon the content-type to determine the transport encoding.