Home
last modified time | relevance | path

Searched refs:extra_environ (Results 1 – 8 of 8) sorted by relevance

/external/chromium-trace/trace-viewer/third_party/Paste/paste/
Dfixture.py102 extra_environ=None, pre_request_hook=None, argument
139 if extra_environ is None:
140 extra_environ = {}
141 self.extra_environ = extra_environ
154 environ = self.extra_environ.copy()
158 def get(self, url, params=None, headers=None, extra_environ=None, argument
190 if extra_environ is None:
191 extra_environ = {}
209 environ.update(extra_environ)
213 def _gen_request(self, method, url, params=b'', headers=None, extra_environ=None, argument
[all …]
Drecursive.py250 def __call__(self, path, extra_environ=None): argument
257 if extra_environ:
258 environ.update(extra_environ)
/external/chromium-trace/trace-viewer/third_party/Paste/tests/
Dtest_registry.py192 extra_environ={'paste.throw_errors': False,
194 request_id = restorer.get_request_id(extra_environ)
196 res = app.get('/', extra_environ=extra_environ, expect_errors=True)
Dtest_gzipper.py15 '/', extra_environ=dict(HTTP_ACCEPT_ENCODING='gzip'))
Dtest_grantip.py28 res = app.get('/', extra_environ={'REMOTE_ADDR': remote_addr})
Dtest_urlmap.py49 app = TestApp(mapper, extra_environ={'HTTP_ACCEPT': 'text/html'})
Dtest_urlparser.py111 extra_environ={'HTTP_ACCEPT': 'text/html'})
Dtest_fileapp.py238 res = app.get('', extra_environ={'REQUEST_METHOD': 'HEAD'})