-
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: enhancementA general enhancementA general enhancement
Milestone
Description
Kenny MacLeod opened SPR-6614 and commented
I'd like to see the values defined in the org.springframework.http.HttpStatus enum be extended to include human-readable descriptions of each code, as defined in the HTTP RFC. These could be retrieved using a getStatusDescription() method.
This is already implemented in Commons HttpClient (see http://hc.apache.org/httpclient-3.x/apidocs/org/apache/commons/httpclient/HttpStatus.html#getStatusText%28int%29), and it would good to see it in Spring also.
Affects: 3.0 GA
Referenced from: commits 4167770
Metadata
Metadata
Assignees
Labels
in: webIssues in web modules (web, webmvc, webflux, websocket)Issues in web modules (web, webmvc, webflux, websocket)type: enhancementA general enhancementA general enhancement