Skip to content

Spring adding 'chunked' transfer encoding even if this header already exists [SPR-16985] #21523

Closed
@spring-projects-issues

Description

@spring-projects-issues

Pradeep Gadi opened SPR-16985 and commented

In our Middleware project we forward rest response from another service as it is to angular UI. The response we are getting to the Middleware already having transfer-encoding →chunked header. while returning the same response from our middleware to angular UI spring adding transfer-encoding again. see below response

content-type →application/json;charset=UTF-8
date →Fri, 29 Jun 2018 07:02:06 GMT
transfer-encoding →chunked, chunked

 

Because of this F5 not able to send the response properly. Spring should not add transfer-encoding If this header already present in the response.

 


Affects: 5.0.5

Issue Links:

Metadata

Metadata

Assignees

Labels

in: webIssues in web modules (web, webmvc, webflux, websocket)

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions