Fixed #19541 -- Fixed BaseHandler to enable reversing URLs in response middlewares...