/external/chromium-trace/trace-viewer/third_party/Paste/tests/ |
D | test_errordocument.py | 5 def simple_app(environ, start_response): argument 6 start_response("200 OK", [('Content-type', 'text/plain')]) 9 def not_found_app(environ, start_response): argument 10 start_response("404 Not found", [('Content-type', 'text/plain')]) 20 def error_docs_app(environ, start_response): argument 22 start_response("404 Not found", [('Content-type', 'text/plain')]) 25 start_response("200 OK", [('Content-type', 'text/plain')]) 28 return simple_app(environ, start_response) 62 def auth_required_app(environ, start_response): argument 63 …start_response('401 Unauthorized', [('content-type', 'text/plain'), ('www-authenticate', 'Basic re… [all …]
|
D | test_recursive.py | 5 def error_docs_app(environ, start_response): argument 7 start_response("404 Not found", [('Content-type', 'text/plain')]) 10 start_response("200 OK", [('Content-type', 'text/plain')]) 15 return simple_app(environ, start_response) 21 def __call__(self, environ, start_response): argument 48 def __call__(self, environ, start_response): argument 50 return self.app(environ, start_response) 56 def __call__(self, environ, start_response): argument 58 return self.app(environ, start_response) 68 def __call__(self, environ, start_response): argument [all …]
|
D | test_cgitb_catcher.py | 24 def start_response_app(environ, start_response): argument 28 def after_start_response_app(environ, start_response): argument 29 start_response("200 OK", [('Content-type', 'text/plain')]) 32 def iter_app(environ, start_response): argument 33 start_response("200 OK", [('Content-type', 'text/plain')])
|
D | test_registry.py | 14 def simpleapp(environ, start_response): argument 17 start_response(status, response_headers) 20 def simpleapp_withregistry(environ, start_response): argument 23 start_response(status, response_headers) 29 def simpleapp_withregistry_default(environ, start_response): argument 32 start_response(status, response_headers) 45 def __call__(self, environ, start_response): argument 52 start_response(status, response_headers) 63 def __call__(self, environ, start_response): argument 68 start_response(status, response_headers) [all …]
|
D | test_config.py | 17 def app_with_config(environ, start_response): argument 18 start_response('200 OK', [('Content-type','text/plain')]) 29 def __call__(self, environ, start_response): argument 30 response = self.app(environ, start_response)
|
/external/chromium-trace/trace-viewer/third_party/Paste/paste/ |
D | recursive.py | 42 def __call__(self, environ, start_response): argument 52 return self.app(environ, start_response) 69 def __call__(self, environ, start_response): argument 73 start_response) 77 start_response) 81 start_response) 85 return self.application(environ, start_response) 89 return middleware(environ, start_response) 218 def __call__(self, environ, start_response): argument 220 return self.app(environ, start_response) [all …]
|
D | urlparser.py | 141 def __call__(self, environ, start_response): argument 147 return self.add_slash(environ, start_response) 162 return not_found_hook(environ, start_response) 171 environ, start_response, 179 environ, start_response, 185 environ, start_response, application) 187 return application(environ, start_response) 215 def not_found(self, environ, start_response, debug_message=None): argument 220 return exc.wsgi_application(environ, start_response) 222 def add_slash(self, environ, start_response): argument [all …]
|
D | fileapp.py | 97 def __call__(self, environ, start_response): argument 103 return exc(environ, start_response) 104 return self.get(environ, start_response) 109 def get(self, environ, start_response): argument 124 start_response('304 Not Modified', headers) 127 return exce.wsgi_application(environ, start_response) 141 start_response('304 Not Modified', headers) 144 return exce.wsgi_application(environ, start_response) 156 ).wsgi_application(environ, start_response) 163 start_response('206 Partial Content', headers) [all …]
|
D | wsgilib.py | 171 def catch_errors(application, environ, start_response, error_callback, argument 180 app_iter = application(environ, start_response) 216 def catch_errors_app(application, environ, start_response, error_callback_app, argument 226 app_iter = application(environ, start_response) 228 return error_callback_app(environ, start_response, sys.exc_info()) 236 environ, start_response, app_iter, 241 def __init__(self, environ, start_response, app_iterable, argument 244 self.start_response = start_response 271 self.environ, self.start_response, sys.exc_info()) 327 def start_response(status, headers, exc_info=None): function [all …]
|
D | gzipper.py | 27 def __call__(self, environ, start_response): argument 31 return self.application(environ, start_response) 32 response = GzipResponse(start_response, self.compress_level) 42 def __init__(self, start_response, compress_level): argument 43 self.start_response = start_response 89 self.start_response(self.status, self.headers)
|
D | errordocument.py | 71 def __call__(self, environ, start_response): argument 78 return start_response(self.status, self.headers, exc_info) 169 def __call__(self, environ, start_response): argument 200 return start_response(status, headers, exc_info) 296 def __call__(self, environ, start_response): argument 327 return start_response(status, headers, exc_info) 368 old_start_response = forward.start_response 369 forward.start_response = eat_start_response 386 forward.start_response = old_start_response
|
D | progress.py | 138 def __call__(self, environ, start_response): argument 151 start_response, finalizer, finalizer) 152 return self.application(environ, start_response) 204 def __call__(self, environ, start_response): argument 214 start_response("200 OK", [('Content-Type', 'text/plain'),
|
D | pony.py | 33 def __call__(self, environ, start_response): argument 47 start_response('200 OK', [('content-type', 'text/html')]) 50 return self.application(environ, start_response)
|
/external/chromium-trace/trace-viewer/third_party/Paste/paste/evalexception/ |
D | middleware.py | 84 def simplecatcher_app(environ, start_response): argument 86 return application(environ, start_response) 90 start_response('500 Server Error', 108 start_response = args[2] 111 environ, start_response = args 113 def application(environ, start_response): argument 123 start_response(status, headers.headeritems()) 127 return app(environ, start_response) 182 def __call__(self, environ, start_response): argument 188 return self.debug(environ, start_response) [all …]
|
/external/chromium-trace/trace-viewer/third_party/Paste/tests/test_exceptions/ |
D | test_error_middleware.py | 26 def clear_throw_errors(environ, start_response): argument 30 return start_response(status, headers, exc_info) 32 return start_response(status, headers) 47 def unicode_bad_app(environ, start_response): argument 50 def start_response_app(environ, start_response): argument 54 def after_start_response_app(environ, start_response): argument 55 start_response("200 OK", [('Content-type', 'text/plain')]) 58 def iter_app(environ, start_response): argument 59 start_response("200 OK", [('Content-type', 'text/plain')])
|
D | test_httpexceptions.py | 29 def badapp(environ, start_response): argument 30 start_response("200 OK",[]) 39 def badapp(environ, start_response): argument 40 start_response("200 OK",[]) 66 def redapp(environ, start_response): argument
|
/external/chromium-trace/trace-viewer/third_party/Paste/paste/debug/ |
D | watchthreads.py | 188 def __call__(self, environ, start_response): argument 190 start_response('403 Forbidden', [('Content-type', 'text/plain')]) 193 return self.kill(environ, start_response) 195 return self.show(environ, start_response) 197 def show(self, environ, start_response): argument 198 start_response('200 OK', [('Content-type', 'text/html')]) 239 def kill(self, environ, start_response): argument 244 return exc(environ, start_response) 252 return exc(environ, start_response) 257 return exc(environ, start_response) [all …]
|
D | debugapp.py | 19 def __call__(self, environ, start_response): argument 21 start_response("200 OK", [('Content-Type', 'text/html'), 37 def __call__(self, environ, start_response): argument 63 start_response("200 OK", [('Content-Type', 'text/html'),
|
D | prints.py | 82 def __call__(self, environ, start_response): argument 87 return self.app(environ, start_response) 112 start_response(status, headers) 123 start_response(status, headers) 127 start_response(status, headers)
|
/external/chromium-trace/trace-viewer/third_party/WebOb/webob/ |
D | exc.py | 213 def __call__(self, environ, start_response): argument 214 return self.wsgi_response(environ, start_response) 302 def generate_response(self, environ, start_response): argument 323 return resp(environ, start_response) 325 def __call__(self, environ, start_response): argument 328 app_iter = Response.__call__(self, environ, start_response) 330 app_iter = self.generate_response(environ, start_response) 490 def __call__(self, environ, start_response): argument 500 environ, start_response) 1115 def __call__(self, environ, start_response): argument [all …]
|
/external/chromium-trace/trace-viewer/third_party/Paste/paste/auth/ |
D | cas.py | 62 def cas_application(environ, start_response): argument 65 return application(environ, start_response) 79 return application(environ, start_response) 86 return exce.wsgi_application(environ, start_response)
|
D | form.py | 96 def __call__(self, environ, start_response): argument 99 return self.application(environ, start_response) 113 return self.application(environ, start_response) 116 start_response("200 OK", [('Content-Type', 'text/html'),
|
D | open_id.py | 122 def __call__(self, environ, start_response): argument 125 request = dict(environ=environ, start=start_response, body=[]) 144 return self.catch_401_app_call(environ, start_response) 145 return self.app(environ, start_response) 147 def catch_401_app_call(self, environ, start_response): argument 161 return start_response(status, headers, exc_info) 172 return exc.wsgi_application(environ, start_response)
|
/external/chromium-trace/trace-viewer/third_party/Paste/tests/urlparser_data/not_found/recur/ |
D | __init__.py | 1 def not_found_hook(environ, start_response): argument 5 return urlparser.not_found(environ, start_response) 9 return urlparser(environ, start_response)
|
/external/chromium-trace/trace-viewer/third_party/Paste/paste/cowbell/ |
D | __init__.py | 12 def __call__(self, environ, start_response): argument 18 return app(environ, start_response) 26 start_response(status, headers, exc_info) 28 return start_response(status, headers, exc_info)
|