Lines Matching refs:response
39 for module in 'request', 'response', 'parse', 'error', 'robotparser':
316 def extract_cookies(self, response, request):
317 self.ec_req, self.ec_r = request, response
416 elif action == "return response":
490 # sends supplied headers and code as first response
491 # sends 200 OK as second response
530 # sends supplied code response
606 # (instead of response), which becomes the OpenerDirector's return
653 [("http_error_302", "return response"), "http_error_303",
674 ("http_response", "return response")],
676 ("http_response", "return response")],
699 # response from opener.open is None, because there's no
1197 # 307 and 308 in response to POST require user OK
1324 # Change response for subsequent connection
1337 # Set up a normal response for the next request
1360 response = opener.open('http://example.com/')
1372 [("http_open", "return response")]
1414 [("https_open", "return response")]
1560 # response (http://python.org/sf/1479302), where it should instead
1562 # HTTPBasicAuthHandler) to handle the response.
1733 """Test the connection is cleaned up when the response is closed"""
1750 """Test the connection is cleaned up after an invalid response"""