Skip to content

JdkClientHttpRequestFactory does not clean response headers when decompressing #35668

@bclozel

Description

@bclozel

As of #35225, JdkClientHttpRequestFactory supports decompressing HTTP responses.
While it decompresses the HTTP response body, the client does not remove response headers that no longer make sense after decompression: Content-Length and Content-Encoding.

We should remove those when body is decompressed.

Metadata

Metadata

Assignees

Labels

in: webIssues in web modules (web, webmvc, webflux, websocket)type: bugA general bug

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions