Lines Matching refs:start_response

41     def __init__(self, app, application_uri, environ, start_response, **kwargs):  argument
47 self.start_response = start_response
54 def __init__(self, code, app, application_uri, environ, start_response, **kwargs): argument
55 …__(app=app, application_uri=application_uri, environ=environ, start_response=start_response, **kwa…
57 …self.start_response('%d %s' % (self.code, self.STATUS_MESSAGE[code]), [('Content-type', 'text/html…
64 def __init__(self, directory, app, application_uri, environ, start_response, **kwargs): argument
65 …__(app=app, application_uri=application_uri, environ=environ, start_response=start_response, **kwa…
71 …self.start_response('403 %s' % (self.STATUS_MESSAGE[403], ), [('Content-type', 'text/html; charset…
74 …self.start_response('404 %s' % (self.STATUS_MESSAGE[404], ), [('Content-type', 'text/html; charset…
79 …self.start_response('404 %s' % (self.STATUS_MESSAGE[404], ), [('Content-type', 'text/html; charset…
82 …self.start_response('405 %s' % (self.STATUS_MESSAGE[405], ), [('Content-type', 'text/html; charset…
88 …self.start_response('200 OK', [('Content-type', type or 'application/octet-stream'), ('Cache-Contr…
91 …self.start_response('500 %s' % (self.STATUS_MESSAGE[500], ), [('Content-type', 'text/html; charset…
96 def __init__(self, app, application_uri, environ, start_response, **kwargs): argument
97 …__(app=app, application_uri=application_uri, environ=environ, start_response=start_response, **kwa…
188 def __init__(self, app, application_uri, environ, start_response, **kwargs): argument
189 …__(app=app, application_uri=application_uri, environ=environ, start_response=start_response, **kwa…
194 …self.start_response('403 %s' % (self.STATUS_MESSAGE[403], ), [('Content-type', 'text/html; charset…
197 …self.start_response('404 %s' % (self.STATUS_MESSAGE[404], ), [('Content-type', 'text/html; charset…
202 …self.start_response('404 %s' % (self.STATUS_MESSAGE[404], ), [('Content-type', 'text/html; charset…
205 …self.start_response('405 %s' % (self.STATUS_MESSAGE[405], ), [('Content-type', 'text/html; charset…
208 …self.start_response('200 OK', [('Content-type', 'application/json; chearset=utf-8'), ('Cache-Contr…
213 def __init__(self, app, application_uri, environ, start_response, **kwargs): argument
214 …__(app=app, application_uri=application_uri, environ=environ, start_response=start_response, **kwa…
220 …self.start_response('403 %s' % (self.STATUS_MESSAGE[403], ), [('Content-type', 'text/html; charset…
223 …self.start_response('404 %s' % (self.STATUS_MESSAGE[404], ), [('Content-type', 'text/html; charset…
228 …self.start_response('404 %s' % (self.STATUS_MESSAGE[404], ), [('Content-type', 'text/html; charset…
231 …self.start_response('405 %s' % (self.STATUS_MESSAGE[405], ), [('Content-type', 'text/html; charset…
234 …self.start_response('200 OK', [('Content-type', 'text/html; chearset=utf-8'), ('Cache-Control', 'p…
453 def __init__(self, app, application_uri, environ, start_response, **kwargs): argument
454 …__(app=app, application_uri=application_uri, environ=environ, start_response=start_response, **kwa…
462 …self.start_response('405 %s' % (self.STATUS_MESSAGE[405], ), [('Content-type', 'text/html; charset…
465 …self.start_response('200 OK', [('Content-type', 'text/html; chearset=utf-8'), ('Cache-Control', 'p…
473 …self.start_response('404 %s' % (self.STATUS_MESSAGE[404], ), [('Content-type', 'text/html; charset…
476 …self.start_response('405 %s' % (self.STATUS_MESSAGE[405], ), [('Content-type', 'text/html; charset…
479 …self.start_response('200 OK', [('Content-type', 'text/html; chearset=utf-8'), ('Cache-Control', 'p…
482 …self.start_response('404 %s' % (self.STATUS_MESSAGE[404], ), [('Content-type', 'text/html; charset…
485 …self.start_response('405 %s' % (self.STATUS_MESSAGE[405], ), [('Content-type', 'text/html; charset…
488 …self.start_response('200 OK', [('Content-type', 'text/html; chearset=utf-8'), ('Cache-Control', 'p…
566 def __init__(self, app, application_uri, environ, start_response, **kwargs): argument
567 …__(app=app, application_uri=application_uri, environ=environ, start_response=start_response, **kwa…
573 …self.start_response('404 %s' % (self.STATUS_MESSAGE[404], ), [('Content-type', 'text/html; charset…
578 …self.start_response('404 %s' % (self.STATUS_MESSAGE[404], ), [('Content-type', 'text/html; charset…
581 …self.start_response('405 %s' % (self.STATUS_MESSAGE[405], ), [('Content-type', 'text/html; charset…
584 …self.start_response('200 OK', [('Content-type', 'text/html; chearset=utf-8'), ('Cache-Control', 'p…
589 …self.start_response('404 %s' % (self.STATUS_MESSAGE[404], ), [('Content-type', 'text/html; charset…
592 …self.start_response('405 %s' % (self.STATUS_MESSAGE[405], ), [('Content-type', 'text/html; charset…
595 …self.start_response('200 OK', [('Content-type', 'text/html; chearset=utf-8'), ('Cache-Control', 'p…
599 …self.start_response('405 %s' % (self.STATUS_MESSAGE[405], ), [('Content-type', 'text/html; charset…
602 …self.start_response('200 OK', [('Content-type', 'text/html; chearset=utf-8'), ('Cache-Control', 'p…
744 def __init__(self, app, application_uri, environ, start_response, **kwargs): argument
745 …__(app=app, application_uri=application_uri, environ=environ, start_response=start_response, **kwa…
750 …self.start_response('404 %s' % (self.STATUS_MESSAGE[404], ), [('Content-type', 'text/html; charset…
753 …self.start_response('405 %s' % (self.STATUS_MESSAGE[405], ), [('Content-type', 'text/html; charset…
756 …self.start_response('200 OK', [('Content-type', 'text/html; chearset=utf-8'), ('Cache-Control', 'p…
789 def __init__(self, app, application_uri, environ, start_response, **kwargs): argument
790 …__(app=app, application_uri=application_uri, environ=environ, start_response=start_response, **kwa…
794 …self.start_response('404 %s' % (self.STATUS_MESSAGE[404], ), [('Content-type', 'text/html; charset…
797 …self.start_response('405 %s' % (self.STATUS_MESSAGE[405], ), [('Content-type', 'text/html; charset…
807 …self.start_response('200 OK', [('Content-type', 'application/json; chearset=utf-8'), ('Cache-Contr…
811 …self.start_response('500 %s' % (self.STATUS_MESSAGE[500], ), [('Content-type', 'text/html; charset…
846 def __init__(self, app, application_uri, environ, start_response, **kwargs): argument
847 …__(app=app, application_uri=application_uri, environ=environ, start_response=start_response, **kwa…
851 …self.start_response('404 %s' % (self.STATUS_MESSAGE[404], ), [('Content-type', 'text/html; charset…
854 …self.start_response('405 %s' % (self.STATUS_MESSAGE[405], ), [('Content-type', 'text/html; charset…
862 …self.start_response('200 OK', [('Content-type', 'application/json; chearset=utf-8'), ('Cache-Contr…
866 …self.start_response('500 %s' % (self.STATUS_MESSAGE[500], ), [('Content-type', 'text/html; charset…
917 def __call__(self, environ, start_response): argument
923 return MachineHandler(self, application_uri, environ, start_response)
925 return SourceFileHandler(self, application_uri, environ, start_response)
927 return SoftwareListHandler(self, application_uri, environ, start_response)
929 return RomIdentHandler(self, application_uri, environ, start_response)
931 return AssetHandler(self.assetsdir, self, application_uri, environ, start_response)
935 return ErrorPageHandler(403, self, application_uri, environ, start_response)
937 return self.RPC_SERVICES[service](self, application_uri, environ, start_response)
939 return ErrorPageHandler(404, self, application_uri, environ, start_response)
941 return ErrorPageHandler(403, self, application_uri, environ, start_response)
943 return ErrorPageHandler(404, self, application_uri, environ, start_response)