Lines Matching refs:response2
237 response2, content2 = http.request(uri, "GET")
239 assert "content-location" in response2
245 assert response2.status == 200
246 assert response2["content-location"] == destination
248 assert response2.previous.status == 301
249 assert response2.previous.fromcache
320 response2, content2 = http.request(second_url, "GET")
328 assert response2.status == 200
331 assert response2["content-location"] == final_url
333 assert response2.previous.status == 302
334 assert not response2.previous.fromcache
335 assert response2.previous["content-location"] == second_url