Revert removal of deprecated rawStatusCode methods #33440
Labels
in: web
Issues in web modules (web, webmvc, webflux, websocket)
type: regression
A bug that is also a regression
Milestone
After introducing the
HttpStatusCode
class in 6.0 as an alternative to theHttpStatus
enum, methods for access to the raw status code as an int were deprecated, and some (a small subset) were removed in 6.1 with #29449 while others didn't have a clear target for removal documented.We've had reports (e.g. #31528 and others not in the issue tracker) that the removals came too soon preventing libraries from working with 5.3.x and 6.x. We should revert those removals, and also clearly document the target version for all such methods to be removed.
The text was updated successfully, but these errors were encountered: