Skip to content

HttpStatusCodeException should contain response body [SPR-7591] #12247

@spring-projects-issues

Description

@spring-projects-issues

Arjen Poutsma opened SPR-7591 and commented

Rather than having just the response status code and message available in HttpStatusCodeException (and subclasses HttpClientErrorException and HttpServerErrorException), it's useful to have the full response body available as well. We should offer this response body.


Issue Links:

Referenced from: commits 2ff4372, 70cb81b

Metadata

Metadata

Assignees

Labels

in: webIssues in web modules (web, webmvc, webflux, websocket)type: enhancementA general enhancement

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions