pub trait ResponseExt { // Required method fn get_uri(&self) -> &Uri; }
Extension trait for http::Response<Body> objects
http::Response<Body>
Allows the user to access the Uri in http::Response
Uri
The Uri we ended up at. This can differ from the request uri when we have followed redirects.