Revert removal of deprecated rawStatusCode methods #33440
Closed
Description
After introducing the HttpStatusCode
class in 6.0 as an alternative to the HttpStatus
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.
Activity