Home
last modified time | relevance | path

Searched refs:start_response (Results 1 – 17 of 17) sorted by relevance

/external/python/cpython2/Lib/wsgiref/
Dhandlers.py85 self.result = application(self.environ, self.start_response)
160 def start_response(self, status, headers,exc_info=None): member in BaseHandler
305 self.result = self.error_output(self.environ, self.start_response)
309 def error_output(self, environ, start_response): argument
322 start_response(self.error_status,self.error_headers[:],sys.exc_info())
Dsimple_server.py135 def demo_app(environ,start_response): argument
143 start_response("200 OK", [('Content-Type','text/plain')])
Dvalidate.py146 environ, start_response = args
171 return WriteWrapper(start_response(*args))
/external/autotest/frontend/
Dfrontend.wsgi20 def application(environ, start_response): argument
23 return _application(environ, start_response)
/external/python/cpython3/Lib/wsgiref/
Dhandlers.py137 self.result = application(self.environ, self.start_response)
225 def start_response(self, status, headers,exc_info=None): member in BaseHandler
381 self.result = self.error_output(self.environ, self.start_response)
385 def error_output(self, environ, start_response): argument
398 start_response(self.error_status,self.error_headers[:],sys.exc_info())
Dsimple_server.py138 def demo_app(environ,start_response): argument
146 start_response("200 OK", [('Content-Type','text/plain; charset=utf-8')])
Dvalidate.py151 environ, start_response = args
176 return WriteWrapper(start_response(*args))
/external/python/cpython3/Lib/test/
Dtest_wsgiref.py50 def hello_app(environ,start_response): argument
51 start_response("200 OK", [
58 def header_app(environ, start_response): argument
59 start_response("200 OK", [
163 def bad_app(environ,start_response): argument
164 start_response("200 OK", ('Content-Type','text/plain'))
178 def bad_app(environ, start_response): argument
179 start_response(status, [("Content-Type", "text/plain; charset=utf-8")])
260 def app(environ, start_response): argument
261 start_response("200 OK", [])
/external/python/cpython2/Lib/test/
Dtest_wsgiref.py42 def hello_app(environ,start_response): argument
43 start_response("200 OK", [
127 def bad_app(environ,start_response): argument
128 start_response("200 OK", ('Content-Type','text/plain'))
/external/autotest/site_utils/stats/
Dapache_error_log_example.txt6 …on Apr 17 16:30:26.142259 2017] [:warn] [pid 4177] return _application(environ, start_response)
/external/python/cpython2/Doc/library/
Dwsgiref.rst124 def simple_app(environ, start_response):
130 start_response(status, headers)
295 .. function:: demo_app(environ, start_response)
420 def simple_app(environ, start_response):
423 start_response(status, headers)
626 .. method:: BaseHandler.error_output(environ, start_response)
632 and should pass that information to *start_response* when calling it (as
716 def hello_world_app(environ, start_response):
719 start_response(status, headers)
/external/python/cpython3/Doc/library/
Dwsgiref.rst124 def simple_app(environ, start_response):
130 start_response(status, headers)
300 .. function:: demo_app(environ, start_response)
425 def simple_app(environ, start_response):
428 start_response(status, headers)
663 .. method:: BaseHandler.error_output(environ, start_response)
669 and should pass that information to *start_response* when calling it (as
771 def hello_world_app(environ, start_response):
774 start_response(status, headers)
/external/python/cpython3/Lib/test/test_asyncio/
Dutils.py185 def app(environ, start_response): argument
188 start_response(status, headers)
/external/python/cpython2/Doc/howto/
Dwebservers.rst292 def app(environ, start_response):
293 start_response('200 OK', [('Content-Type', 'text/html')])
/external/python/cpython3/Misc/NEWS.d/
D3.5.2rc1.rst935 Avoid potential ValueError in BaseHandler.start_response. Initial patch by
D3.6.0a1.rst1518 Avoid potential ValueError in BaseHandler.start_response. Initial patch by
/external/python/cpython3/Doc/whatsnew/
D3.2.rst403 :func:`start_response` function. They must follow :rfc:`2616` with respect to
418 must be byte strings. The :func:`start_response` function and environ