-
Notifications
You must be signed in to change notification settings - Fork 38.8k
Closed
Labels
in: webIssues in web modules (web, webmvc, webflux, websocket)Issues in web modules (web, webmvc, webflux, websocket)type: bugA general bugA general bug
Milestone
Description
Robert Pond opened SPR-7060 and commented
When using the @ResponseStatus
annotation on a controller method, if you specify a value for reason such as
@ResponseStatus
(value=HttpStatus.BAD_REQUEST, reason="More than 1000 results were returned. Please be more specific.")
The response still only writes out the default message for the Status, in this case it would be "The request sent was syntactically incorrect."
Affects: 3.0.1
Referenced from: commits 8a1a23a
Metadata
Metadata
Assignees
Labels
in: webIssues in web modules (web, webmvc, webflux, websocket)Issues in web modules (web, webmvc, webflux, websocket)type: bugA general bugA general bug