httptest::mappers::request
pub fn query<M>(inner: M) -> Query<M>
Extract the query from the HTTP request and pass it to the next mapper.