mirror of
https://github.com/spring-projects/spring-framework
synced 2026-06-08 17:33:33 +00:00
12c3dc0cbe
Prior to this commit, the `JdkClientHttpRequestFactory` would support decompressing gziped/deflate encoded response bodies but would fail if the response has no body but has a "Content-Encoding" response header. This happens as a response to HEAD requests. This commit ensures that only responses with actual message bodies are decompressed. Fixes gh-35966