tentator
13 years agoNew Contributor
Accept-Encoding field is removed instead as set to "none"
Hello,
The "Accept compressed responses from hosts" option in soapUI Preferences (HTTP Settings) is behaving in such way that the "Accept-Encoding" field is REMOVED/NOT PRESENT in requests.
This is a bug since when the "Accept-Encoding" field is missing it DOES NOT mean that soapUI would accept only uncompressed responses, on the contrary:
The RFC 2616 (http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html) states that "If no Accept-Encoding field is present in a request, the server MAY assume that the client will accept any content coding."
So I would suggest soapUI's Preference option above should instead send an explicit "Accept-Encoding" field with "none" as accepted protocols.
Would you agree and is my issue making sense to you?
Thanks in advance,
Tent:wq
The "Accept compressed responses from hosts" option in soapUI Preferences (HTTP Settings) is behaving in such way that the "Accept-Encoding" field is REMOVED/NOT PRESENT in requests.
This is a bug since when the "Accept-Encoding" field is missing it DOES NOT mean that soapUI would accept only uncompressed responses, on the contrary:
The RFC 2616 (http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html) states that "If no Accept-Encoding field is present in a request, the server MAY assume that the client will accept any content coding."
So I would suggest soapUI's Preference option above should instead send an explicit "Accept-Encoding" field with "none" as accepted protocols.
Would you agree and is my issue making sense to you?
Thanks in advance,
Tent:wq