Fixed #23531 -- Added CommonMiddleware.response_redirect_class

Will add doc changes and whatnot if this behavior is accepted.

* [ ] Tests
* [ ] Docs
* [ ] Changelog