/external/python/oauth2client/oauth2client/contrib/ |
D | appengine.py | 435 def _build_state_value(request_handler, user): argument 448 uri = request_handler.request.url 607 def _display_error_message(self, request_handler): argument 608 request_handler.response.out.write('<html><body>') 609 request_handler.response.out.write(_safe_html(self._message)) 610 request_handler.response.out.write('</body></html>') 623 def check_oauth(request_handler, *args, **kwargs): argument 625 self._display_error_message(request_handler) 632 request_handler.redirect(users.create_login_url( 633 request_handler.request.uri)) [all …]
|
/external/python/cpython2/Lib/test/ |
D | test_urllib2_localnet.py | 56 def __init__(self, request_handler): argument 60 request_handler.protocol_version = "HTTP/1.0" 62 request_handler) 183 def _return_auth_challenge(self, request_handler): argument 184 request_handler.send_response(407, "Proxy Authentication Required") 185 request_handler.send_header("Content-Type", "text/html") 186 request_handler.send_header( 194 request_handler.end_headers() 195 request_handler.wfile.write("Proxy Authentication Required.") 198 def handle_request(self, request_handler): argument [all …]
|
D | test_httpservers.py | 52 def __init__(self, test_object, request_handler): argument 54 self.request_handler = request_handler 58 self.server = HTTPServer(('', 0), self.request_handler) 77 self.thread = TestServerThread(self, self.request_handler) 157 class request_handler(NoLogRequestHandler, BaseHTTPRequestHandler): class in BaseHTTPServerTestCase 320 class request_handler(NoLogRequestHandler, SimpleHTTPRequestHandler): class in SimpleHTTPServerTestCase 455 class request_handler(NoLogRequestHandler, CGIHTTPRequestHandler): class in CGIHTTPServerTestCase
|
/external/python/cpython3/Lib/test/ |
D | test_urllib2_localnet.py | 56 def __init__(self, request_handler): argument 60 request_handler.protocol_version = "HTTP/1.0" 62 request_handler) 141 def _return_auth_challenge(self, request_handler): argument 142 request_handler.send_response(407, "Proxy Authentication Required") 143 request_handler.send_header("Content-Type", "text/html") 144 request_handler.send_header( 152 request_handler.end_headers() 153 request_handler.wfile.write(b"Proxy Authentication Required.") 156 def handle_request(self, request_handler): argument [all …]
|
D | test_httpservers.py | 43 def __init__(self, test_object, request_handler): argument 45 self.request_handler = request_handler 49 self.server = HTTPServer(('localhost', 0), self.request_handler) 68 self.thread = TestServerThread(self, self.request_handler) 85 class request_handler(NoLogRequestHandler, BaseHTTPRequestHandler): class in BaseHTTPServerTestCase 292 class request_handler(BaseHTTPRequestHandler): class in RequestHandlerLoggingTestCase 328 class request_handler(NoLogRequestHandler, SimpleHTTPRequestHandler): class in SimpleHTTPServerTestCase 591 class request_handler(NoLogRequestHandler, CGIHTTPRequestHandler): class in CGIHTTPServerTestCase
|
/external/python/cpython2/Lib/wsgiref/ |
D | simple_server.py | 32 self.request_handler.log_request( 130 handler.request_handler = self # backpointer for logging
|
/external/python/cpython3/Lib/wsgiref/ |
D | simple_server.py | 34 self.request_handler.log_request( 132 handler.request_handler = self # backpointer for logging
|
/external/python/httplib2/tests/ |
D | __init__.py | 342 def server_request(request_handler, **kwargs): argument 353 response = request_handler(request=request)
|
/external/python/oauth2client/tests/contrib/ |
D | test_appengine.py | 845 request_handler = MockRequestHandler() 846 decorator._create_flow(request_handler)
|