Home
last modified time | relevance | path

Searched refs:response_headers (Results 1 – 25 of 34) sorted by relevance

12

/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/glacier/
Dlayer1.py105 sender=None, response_headers=None): argument
116 return GlacierResponse(response, response_headers)
233 response_headers=[('Location', 'Location')])
654 response_headers = [('x-amz-job-id', u'JobId'),
659 response_headers=response_headers)
731 response_headers = [('x-amz-sha256-tree-hash', u'TreeHash'),
740 response_headers=response_headers)
810 response_headers = [('x-amz-archive-id', u'ArchiveId'),
832 response_headers=response_headers)
941 response_headers = [('x-amz-multipart-upload-id', u'UploadId'),
[all …]
Dresponse.py32 def __init__(self, http_response, response_headers): argument
36 if response_headers:
37 for header_name, item_name in response_headers:
/external/chromium-trace/catapult/third_party/Paste/tests/
Dtest_httpheaders.py108 response_headers = []
109 VIA.update(response_headers,environ)
110 assert response_headers == [('Via', 'bing')]
132 response_headers = [
140 normalize_headers(response_headers, strict=False)
141 assert response_headers == [
Dtest_registry.py16 response_headers = [('Content-type','text/plain')]
17 start_response(status, response_headers)
22 response_headers = [('Content-type','text/plain')]
23 start_response(status, response_headers)
31 response_headers = [('Content-type','text/plain')]
32 start_response(status, response_headers)
51 response_headers = [('Content-type','text/plain')]
52 start_response(status, response_headers)
67 response_headers = [('Content-type','text/plain')]
68 start_response(status, response_headers)
Dtest_request.py11 response_headers = [('Content-type','text/plain')]
12 start_response(status, response_headers)
/external/chromium-trace/catapult/third_party/Paste/paste/util/
Dscgiserver.py89 def start_response(status, response_headers, exc_info=None): argument
100 headers_set[:] = [status, response_headers]
114 response_headers = [('Content-type', 'text/html')]
117 status, response_headers = headers_sent[:] = headers_set
120 for header in response_headers:
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/s3/
Dkey.py271 override_num_retries=None, response_headers=None): argument
304 response_headers = self.resp.msg
305 self.metadata = boto.utils.get_aws_metadata(response_headers,
307 for name, value in response_headers.items():
312 'Content-Range' not in response_headers):
630 query_auth=True, force_http=False, response_headers=None, argument
705 response_headers,
1432 response_headers=None): argument
1480 response_headers=response_headers,
1486 response_headers=None, hash_algs=None, query_args=None): argument
[all …]
Dconnection.py355 response_headers=None, version_id=None, argument
377 query_auth=True, force_http=False, response_headers=None, argument
383 response_headers=response_headers, version_id=version_id)
397 if response_headers:
398 for k, v in response_headers.items():
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/gs/
Dkey.py136 override_num_retries=None, response_headers=None): argument
165 response_headers=response_headers)
169 response_headers=None, hash_algs=None): argument
175 response_headers=response_headers,
184 response_headers=None, argument
235 response_headers=response_headers,
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/cloudfront/
D__init__.py56 response_headers = response.msg
57 for key in response_headers.keys():
59 return response_headers[key]
92 response_headers = response.msg
93 for key in response_headers.keys():
95 d.etag = response_headers[key]
/external/chromium-trace/catapult/third_party/gsutil/third_party/httplib2/python3/
Dhttplib2test.py1197 response_headers = {
1203 … self.assertEqual("TRANSPARENT", httplib2._entry_disposition(response_headers, request_headers))
1207 response_headers = {
1212 self.assertEqual("STALE", httplib2._entry_disposition(response_headers, request_headers))
1219 response_headers = {
1226 self.assertEqual("STALE", httplib2._entry_disposition(response_headers, request_headers))
1237 response_headers = {
1243 self.assertEqual("FRESH", httplib2._entry_disposition(response_headers, request_headers))
1245 self.assertEqual("STALE", httplib2._entry_disposition(response_headers, request_headers))
1248 response_headers = {
[all …]
/external/chromium-trace/catapult/third_party/gsutil/third_party/httplib2/python2/
Dhttplib2test.py1272 response_headers = {
1278 … self.assertEqual("TRANSPARENT", httplib2._entry_disposition(response_headers, request_headers))
1282 response_headers = {
1287 self.assertEqual("STALE", httplib2._entry_disposition(response_headers, request_headers))
1294 response_headers = {
1301 self.assertEqual("STALE", httplib2._entry_disposition(response_headers, request_headers))
1312 response_headers = {
1318 self.assertEqual("FRESH", httplib2._entry_disposition(response_headers, request_headers))
1320 self.assertEqual("STALE", httplib2._entry_disposition(response_headers, request_headers))
1323 response_headers = {
[all …]
/external/chromium-trace/catapult/third_party/Paste/paste/
Dwsgiwrappers.py358 response_headers = self.headers.headeritems()
360 response_headers.append(('Set-Cookie', c.output(header='')))
361 start_response(status, response_headers)
446 response_headers = self.headers.headeritems()
448 response_headers.append(('Set-Cookie', c.output(header='')))
449 return status, response_headers, self.get_content()
Dhttpheaders.py571 def normalize_headers(response_headers, strict=True): argument
581 for idx in range(len(response_headers)):
582 (key, val) = response_headers[idx]
587 response_headers[idx] = (newhead, val)
590 response_headers[idx] = (str(head), val)
595 response_headers.sort(key=key_func)
/external/chromium-trace/catapult/third_party/Paste/paste/auth/
Dopen_id.py298 response_headers = [('Content-type', 'text/plain'),
300 request['start']('302 REDIRECT', response_headers)
313 response_headers = [('Content-type', 'text/html')]
314 request['start'](str(status), response_headers)
Dcookie.py288 def response_hook(status, response_headers, exc_info=None): argument
313 response_headers.append(('Set-Cookie', cookie))
314 return start_response(status, response_headers, exc_info)
/external/chromium-trace/catapult/third_party/gsutil/third_party/oauth2client/tests/
Dhttp_mock.py41 self.response_headers = headers
59 return httplib2.Response(self.response_headers), self.data
/external/libbrillo/brillo/http/
Dhttp_connection_curl_unittest.cc65 HeaderList response_headers; member in brillo::http::curl::__anon5245bbc00111::CurlPerformer
87 for (const auto& pair : response_headers) { in DoPerform()
292 HeaderList response_headers{ in TEST_F() local
299 performer_.response_headers = response_headers; in TEST_F()
/external/chromium-trace/catapult/third_party/gsutil/third_party/protorpc/protorpc/wsgi/
Dutil.py156 def first_found_start_response(status, response_headers): argument
171 final_result['response_headers'] = response_headers
Dservice.py197 response_headers = [('content-type', content_type)]
199 response_headers)
/external/libweave/examples/provider/
Dcurl_http_client.cc102 provider::HttpClient::Headers response_headers; in SendRequestBlocking() local
104 curl_easy_setopt(curl.get(), CURLOPT_HEADERDATA, &response_headers)); in SendRequestBlocking()
117 for (const auto& header : response_headers) { in SendRequestBlocking()
/external/chromium-trace/catapult/third_party/gsutil/third_party/httplib2/python3/httplib2/
D__init__.py250 def _entry_disposition(response_headers, request_headers): argument
280 cc_response = _parse_cache_control(response_headers)
292 elif 'date' in response_headers:
293 date = calendar.timegm(email.utils.parsedate_tz(response_headers['date']))
301 elif 'expires' in response_headers:
302 expires = email.utils.parsedate_tz(response_headers['expires'])
359 def _updateCache(request_headers, response_headers, content, cache, cachekey): argument
362 cc_response = _parse_cache_control(response_headers)
367 for key, value in response_headers.items():
373 vary = response_headers.get('vary', None)
[all …]
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/tests/integration/s3/
Dtest_connection.py76 url = k.generate_url(60, response_headers=rh)
81 url = k.generate_url(60, response_headers=rh, force_http=True)
195 data = k.get_contents_as_string(response_headers={'response-content-type' : 'foo/bar'})
/external/chromium-trace/catapult/third_party/gsutil/third_party/httplib2/python2/httplib2/
D__init__.py321 def _entry_disposition(response_headers, request_headers): argument
351 cc_response = _parse_cache_control(response_headers)
363 elif response_headers.has_key('date'):
364 date = calendar.timegm(email.Utils.parsedate_tz(response_headers['date']))
372 elif response_headers.has_key('expires'):
373 expires = email.Utils.parsedate_tz(response_headers['expires'])
413 def _updateCache(request_headers, response_headers, content, cache, cachekey): argument
416 cc_response = _parse_cache_control(response_headers)
421 for key, value in response_headers.iteritems():
427 vary = response_headers.get('vary', None)
[all …]
/external/chromium-trace/catapult/perf_insights/third_party/cloudstorage/
Dstorage_api.py829 status, response_headers, content = self._api.put_object(
836 response_headers, content,
849 status, response_headers, content = self._api.put_object(
852 response_headers, content,
854 val = response_headers.get('range')

12