Home
last modified time | relevance | path

Searched refs:http_request (Results 1 – 25 of 46) sorted by relevance

12

/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/
Dauth.py123 def add_auth(self, http_request, **kwargs): argument
141 def add_auth(self, http_request, **kwargs): argument
142 headers = http_request.headers
143 method = http_request.method
144 auth_path = http_request.auth_path
177 def add_auth(self, http_request, **kwargs): argument
178 headers = http_request.headers
201 def add_auth(self, http_request, **kwargs): argument
202 headers = http_request.headers
227 def headers_to_sign(self, http_request): argument
[all …]
Dauth_handler.py54 def add_auth(self, http_request): argument
/external/wpa_supplicant_8/src/wps/
Dhttp_server.h13 struct http_request;
15 void http_request_deinit(struct http_request *req);
16 void http_request_send(struct http_request *req, struct wpabuf *resp);
17 void http_request_send_and_deinit(struct http_request *req,
19 enum httpread_hdr_type http_request_get_type(struct http_request *req);
20 char * http_request_get_uri(struct http_request *req);
21 char * http_request_get_hdr(struct http_request *req);
22 char * http_request_get_data(struct http_request *req);
23 char * http_request_get_hdr_line(struct http_request *req, const char *tag);
24 struct sockaddr_in * http_request_get_cli_addr(struct http_request *req);
[all …]
Dhttp_server.c21 struct http_request { struct
22 struct http_request *next; argument
30 void (*cb)(void *ctx, struct http_request *req); argument
36 struct http_request *requests;
44 struct http_request *req = cookie; in http_request_cb()
61 static struct http_request * http_request_init(struct http_server *srv, int fd, in http_request_init()
64 struct http_request *req; in http_request_init()
91 void http_request_deinit(struct http_request *req) in http_request_deinit()
93 struct http_request *r, *p; in http_request_deinit()
121 static void http_request_free_all(struct http_request *req) in http_request_free_all()
[all …]
Dwps_upnp_web.c303 struct http_request *hreq, in web_connection_parse_get()
755 static void web_connection_send_reply(struct http_request *req, in web_connection_send_reply()
861 static const char * web_get_action(struct http_request *req, in web_get_action()
920 struct http_request *req, in web_connection_parse_post()
984 struct http_request *req, in web_connection_parse_subscribe()
1206 struct http_request *req, in web_connection_parse_unsubscribe()
1332 static void web_connection_unimplemented(struct http_request *req) in web_connection_unimplemented()
1348 static void web_connection_check_data(void *ctx, struct http_request *req) in web_connection_check_data()
/external/chromium-trace/catapult/third_party/gsutil/third_party/apitools/apitools/base/py/
Dbase_api_test.py112 http_request = http_wrapper.Request('http://www.example.com')
113 new_request = client.ProcessHttpRequest(http_request)
118 http_request = http_wrapper.Request('http://www.example.com')
119 new_request = client.ProcessHttpRequest(http_request)
128 http_request = service.PrepareHttpRequest(method_config, request)
131 self.assertTrue(http_request.url.endswith(url_timestamp))
141 http_request = service.PrepareHttpRequest(method_config, request,
143 self.assertFalse('prettyPrint' in http_request.url)
144 self.assertFalse('pp' in http_request.url)
149 http_request = service.PrepareHttpRequest(method_config, request,
[all …]
Dbase_api.py390 def ProcessHttpRequest(self, http_request): argument
392 http_request.headers.update(self.additional_http_headers)
395 http_request.http_method, http_request.url)
396 logging.info('Headers: %s', pprint.pformat(http_request.headers))
397 if http_request.body:
401 http_request.loggable_body or http_request.body)
404 return http_request
544 def __FinalizeRequest(self, http_request, url_builder): argument
546 if (http_request.http_method == 'GET' and
547 len(http_request.url) > _MAX_URL_LENGTH):
[all …]
Dhttp_wrapper.py55 def _Httplib2Debuglevel(http_request, level, http=None): argument
74 if http_request.loggable_body is None:
278 retry_args.http_request.url, retry_args.exc)
284 def MakeRequest(http, http_request, retries=7, max_retry_wait=60, argument
315 http, http_request, redirections=redirections,
325 http, http_request, e, retry, max_retry_wait))
328 def _MakeRequestNoRetry(http, http_request, redirections=5, argument
355 url_scheme = parse.urlsplit(http_request.url).scheme
361 with _Httplib2Debuglevel(http_request, new_debuglevel, http=http):
363 str(http_request.url), method=str(http_request.http_method),
[all …]
Dtransfer.py263 def ConfigureRequest(self, http_request, url_builder): argument
269 http_request.headers['Range'] = 'bytes=0-%d' % (self.chunksize - 1,)
283 def InitializeDownload(self, http_request, http=None, client=None): argument
298 http_request.url = client.FinalizeTransferUrl(http_request.url)
299 url = http_request.url
302 self.__SetRangeHeader(http_request, 0, end_byte)
304 self.bytes_http or http, http_request)
661 def __SetDefaultUploadStrategy(self, upload_config, http_request): argument
684 if http_request.body and not upload_config.simple_multipart:
690 def ConfigureRequest(self, upload_config, http_request, url_builder): argument
[all …]
Dtransfer_test.py149 def _ReturnBytes(unused_http, http_request, argument
151 url = http_request.url
213 http_request = http_wrapper.Request(
217 upload.ConfigureRequest(upload_config, http_request, url_builder)
220 http_request.body.split('--')[2].splitlines()[1:])
229 http_request = http_wrapper.Request(
232 upload.ConfigureRequest(upload_config, http_request, url_builder)
234 rewritten_upload_contents = http_request.body
Dbatch.py79 self.http_request = request
158 http_request = service.PrepareHttpRequest(
164 http_request, self.retryable_codes, service, method_config)
193 request.http_request, request.HandleResponse)
/external/chromium-trace/catapult/third_party/gsutil/third_party/gcs-oauth2-boto-plugin/gcs_oauth2_boto_plugin/
Doauth2_plugin.py42 def add_auth(self, http_request): argument
43 http_request.headers['Authorization'] = \
67 def add_auth(self, http_request): argument
68 http_request.headers['Authorization'] = \
/external/chromium-trace/catapult/third_party/gsutil/gslib/
Ddevshell_auth_plugin.py38 def add_auth(self, http_request): argument
39 http_request.headers['Authorization'] = 'Bearer %s' % self.creds.access_token
Dno_op_auth_plugin.py34 def add_auth(self, http_request): argument
/external/chromium-trace/catapult/third_party/gsutil/third_party/oauth2client/oauth2client/
Dclient.py754 def _refresh(self, http_request): argument
769 self._do_refresh_request(http_request)
781 self._do_refresh_request(http_request)
785 def _do_refresh_request(self, http_request): argument
799 resp, content = http_request(
836 def _revoke(self, http_request): argument
843 self._do_revoke(http_request, self.refresh_token or self.access_token)
845 def _do_revoke(self, http_request, token): argument
860 resp, content = http_request(token_revoke_uri)
936 def _refresh(self, http_request): argument
[all …]
Dgce.py69 def _refresh(self, http_request): argument
83 response, content = http_request(uri)
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/cloudtrail/
Dlayer1.py359 http_request = self.build_base_http_request(
362 response = self._mexe(http_request, sender=None,
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/configservice/
Dlayer1.py365 http_request = self.build_base_http_request(
368 response = self._mexe(http_request, sender=None,
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/cloudhsm/
Dlayer1.py432 http_request = self.build_base_http_request(
435 response = self._mexe(http_request, sender=None,
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/cognito/identity/
Dlayer1.py534 http_request = self.build_base_http_request(
537 response = self._mexe(http_request, sender=None,
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/datapipeline/
Dlayer1.py624 http_request = self.build_base_http_request(
627 response = self._mexe(http_request, sender=None,
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/directconnect/
Dlayer1.py612 http_request = self.build_base_http_request(
615 response = self._mexe(http_request, sender=None,
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/route53/domains/
Dlayer1.py852 http_request = self.build_base_http_request(
855 response = self._mexe(http_request, sender=None,
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/logs/
Dlayer1.py561 http_request = self.build_base_http_request(
564 response = self._mexe(http_request, sender=None,
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/support/
Dlayer1.py659 http_request = self.build_base_http_request(
662 response = self._mexe(http_request, sender=None,

12