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/python/cpython3/Lib/test/
Dtest_wsgiref.py49 def hello_app(environ,start_response): argument
50 start_response("200 OK", [
57 def header_app(environ, start_response): argument
58 start_response("200 OK", [
162 def bad_app(environ,start_response): argument
163 start_response("200 OK", ('Content-Type','text/plain'))
177 def bad_app(environ, start_response): argument
178 start_response(status, [("Content-Type", "text/plain; charset=utf-8")])
259 def app(environ, start_response): argument
260 start_response("200 OK", [])
/external/python/cpython3/Lib/wsgiref/
Dhandlers.py137 self.result = application(self.environ, self.start_response)
212 def start_response(self, status, headers,exc_info=None): member in BaseHandler
367 self.result = self.error_output(self.environ, self.start_response)
371 def error_output(self, environ, start_response): argument
384 start_response(self.error_status,self.error_headers[:],sys.exc_info())
Dsimple_server.py137 def demo_app(environ,start_response): argument
145 start_response("200 OK", [('Content-Type','text/plain; charset=utf-8')])
Dvalidate.py151 environ, start_response = args
176 return WriteWrapper(start_response(*args))
/external/autotest/frontend/
Dfrontend.wsgi20 def application(environ, start_response): argument
23 return _application(environ, start_response)
/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)
298 .. function:: demo_app(environ, start_response)
423 def simple_app(environ, start_response):
426 start_response(status, headers)
661 .. method:: BaseHandler.error_output(environ, start_response)
667 and should pass that information to *start_response* when calling it (as
769 def hello_world_app(environ, start_response):
772 start_response(status, headers)
/external/python/cpython3/Lib/test/test_asyncio/
Dutils.py177 def app(environ, start_response): argument
180 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.rst936 Avoid potential ValueError in BaseHandler.start_response. Initial patch by
D3.6.0a1.rst1519 Avoid potential ValueError in BaseHandler.start_response. Initial patch by
/external/python/cpython3/Doc/whatsnew/
D3.2.rst401 :func:`start_response` function. They must follow :rfc:`2616` with respect to
416 must be byte strings. The :func:`start_response` function and environ