HomeSort by relevance Sort by last modified time
    Searched full:http_response (Results 1 - 25 of 43) sorted by null

1 2

  /external/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/glacier/
response.py 32 def __init__(self, http_response, response_headers):
33 self.http_response = http_response
34 self.status = http_response.status
35 self[u'RequestId'] = http_response.getheader('x-amzn-requestid')
38 self[item_name] = http_response.getheader(header_name)
39 if http_response.status != 204:
40 if http_response.getheader('Content-Type') == 'application/json':
41 body = json.loads(http_response.read().decode('utf-8'))
43 size = http_response.getheader('Content-Length', None
    [all...]
  /external/chromium-trace/catapult/third_party/gsutil/third_party/apitools/apitools/base/py/
exceptions.py 57 def FromResponse(cls, http_response):
58 return cls(http_response.info, http_response.content,
59 http_response.request_url)
131 def FromResponse(cls, http_response):
132 return cls(http_response.info, http_response.content,
133 http_response.request_url, http_response.retry_after)
base_api.py 556 def __ProcessHttpResponse(self, method_config, http_response):
558 if http_response.status_code not in (http_client.OK,
560 raise exceptions.HttpError.FromResponse(http_response)
561 if http_response.status_code == http_client.NO_CONTENT:
564 http_response = http_wrapper.Response(
565 info=http_response.info, content='{}',
566 request_url=http_response.request_url)
568 return http_response.content
573 response_type, http_response.content)
665 http_response = Non
    [all...]
base_api_test.py 96 http_response = http_wrapper.Response(
101 method_config, http_response))
104 http_response.content,
105 service.ProcessHttpResponse(method_config, http_response))
batch.py 108 def HandleResponse(self, http_response, exception):
115 http_response: Deserialized http_wrapper.Response object.
120 self.__http_response = http_response
batch_test.py 52 def ProcessHttpResponse(self, _, http_response):
53 return http_response
transfer.py 818 http_response = http_wrapper.MakeRequest(http, http_request,
820 if http_response.status_code != http_client.OK:
821 raise exceptions.HttpError.FromResponse(http_response)
823 self.__server_chunk_granularity = http_response.info.get(
825 url = http_response.info['location']
    [all...]
  /external/autotest/frontend/afe/
views.py 49 http_response = HttpResponse(content)
52 http_response[header] = value
53 return http_response
  /external/libmicrohttpd/src/examples/
mhd2spdy_http.c 298 proxy->http_response = MHD_create_response_from_callback (MHD_SIZE_UNKNOWN,
304 if (NULL == proxy->http_response)
307 if(MHD_NO == MHD_add_response_header (proxy->http_response,
310 if(MHD_NO == MHD_add_response_header (proxy->http_response,
313 if(MHD_NO == MHD_add_response_header (proxy->http_response,
352 if(MHD_NO == MHD_add_response_header (proxy->http_response,
360 if(MHD_NO == MHD_queue_response (proxy->http_connection, proxy->status, proxy->http_response)){
367 MHD_destroy_response (proxy->http_response);
368 proxy->http_response = NULL;
390 if(NULL != proxy->http_response)
    [all...]
mhd2spdy_structures.h 106 struct MHD_Response *http_response; member in struct:Proxy
  /external/google-breakpad/src/client/windows/sender/
crash_report_sender.cc 70 int http_response = 0; local
73 &http_response);
78 } else if (http_response >= 400 && http_response < 500) {
  /external/chromium-trace/catapult/third_party/gsutil/third_party/boto/tests/unit/glacier/
test_job.py 59 http_response = mock.Mock(read=mock.Mock(return_value='xyz'))
60 response = GlacierResponse(http_response, None)
69 self.assertEqual(http_response.read.return_value, fileobj.read())
  /external/chromium-trace/catapult/third_party/gsutil/third_party/boto/tests/unit/
__init__.py 73 http_response = self.create_response(status_code, reason, header, body)
74 self.https_connection.getresponse.return_value = http_response
  /external/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/roboto/
awsqueryrequest.py 202 if self.http_response is not None:
203 retval = self.http_response.status
209 if self.http_response is not None:
210 retval = self.http_response.reason
297 self.http_response = conn.make_request(self.name(),
300 self.body = self.http_response.read()
302 if self.http_response.status == 200:
309 boto.log.error('%s %s' % (self.http_response.status,
310 self.http_response.reason))
312 raise conn.ResponseError(self.http_response.status
    [all...]
  /cts/tests/tests/networksecurityconfig/networksecurityconfig-downloadmanager/src/android/security/net/config/cts/
DownloadManagerTest.java 63 private static final String HTTP_RESPONSE =
119 s.getOutputStream().write(HTTP_RESPONSE.getBytes());
  /system/update_engine/
omaha_request_action_unittest.cc 183 const string& http_response,
305 const string& http_response,
316 MockHttpFetcher* fetcher = new MockHttpFetcher(http_response.data(),
317 http_response.size(),
374 const string& http_response,
378 MockHttpFetcher* fetcher = new MockHttpFetcher(http_response.data(),
379 http_response.size(),
843 const string http_response(fake_update_response_.GetNoUpdateResponse());
    [all...]
  /external/google-breakpad/src/common/windows/
http_upload.cc 182 int http_response = wcstol(http_status, NULL, 10); local
184 *response_code = http_response;
187 bool result = (http_response == 200);
  /external/apache-http/src/org/apache/http/protocol/
ExecutionContext.java 52 public static final String HTTP_RESPONSE = "http.response";
HttpService.java 189 context.setAttribute(ExecutionContext.HTTP_RESPONSE, response);
  /prebuilts/gdb/darwin-x86/lib/python2.7/test/
test_urllib2.py 567 ("http_response", "return response")],
569 ("http_response", "return response")],
579 (handlers[0], "http_response"), (handlers[1], "http_response")]
874 newr = h.http_response(req, r)
878 newr = h.http_response(req, r)
882 newr = h.http_response(req, r)
    [all...]
  /prebuilts/gdb/linux-x86/lib/python2.7/test/
test_urllib2.py 567 ("http_response", "return response")],
569 ("http_response", "return response")],
579 (handlers[0], "http_response"), (handlers[1], "http_response")]
874 newr = h.http_response(req, r)
878 newr = h.http_response(req, r)
882 newr = h.http_response(req, r)
    [all...]
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
test_urllib2.py 567 ("http_response", "return response")],
569 ("http_response", "return response")],
579 (handlers[0], "http_response"), (handlers[1], "http_response")]
874 newr = h.http_response(req, r)
878 newr = h.http_response(req, r)
882 newr = h.http_response(req, r)
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
test_urllib2.py 567 ("http_response", "return response")],
569 ("http_response", "return response")],
579 (handlers[0], "http_response"), (handlers[1], "http_response")]
874 newr = h.http_response(req, r)
878 newr = h.http_response(req, r)
882 newr = h.http_response(req, r)
    [all...]
  /prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/
http.h 249 typedef HTTP_RESPONSE_V2 HTTP_RESPONSE, *PHTTP_RESPONSE;
251 typedef HTTP_RESPONSE_V1 HTTP_RESPONSE, *PHTTP_RESPONSE;
  /development/apps/Development/src/com/android/development/
Connectivity.java 474 mHttpRequestResults = (TextView)findViewById(R.id.http_response);
710 ((TextView) findViewById(R.id.http_response)).setText(results);

Completed in 3602 milliseconds

1 2