Home
last modified time | relevance | path

Searched refs:http_client (Results 1 – 25 of 56) sorted by relevance

123

/external/wpa_supplicant_8/src/wps/
Dhttp_client.h12 struct http_client;
23 struct http_client * http_client_addr(struct sockaddr_in *dst,
26 struct http_client *c,
29 struct http_client * http_client_url(const char *url,
32 struct http_client *c,
35 void http_client_free(struct http_client *c);
36 struct wpabuf * http_client_get_body(struct http_client *c);
37 char * http_client_get_hdr_line(struct http_client *c, const char *tag);
Dhttp_client.c21 struct http_client { struct
28 void (*cb)(void *ctx, struct http_client *c, argument
38 struct http_client *c = eloop_data; in http_client_timeout() argument
47 struct http_client *c = cookie; in http_client_got_response()
86 struct http_client *c = eloop_ctx; in http_client_tx_ready()
130 struct http_client * http_client_addr(struct sockaddr_in *dst, in http_client_addr()
133 struct http_client *c, in http_client_addr()
137 struct http_client *c; in http_client_addr()
236 struct http_client * http_client_url(const char *url, in http_client_url()
239 struct http_client *c, in http_client_url()
[all …]
Dwps_er.h29 struct http_client *http;
39 struct http_client *http;
/external/google-breakpad/src/tools/windows/converter_exe/
Dhttp_download.cc117 HttpClient* http_client = NULL; in CreateHttpClient() local
125 http_client = CreateWinHttpClient(url); in CreateHttpClient()
126 if (http_client == NULL) { in CreateHttpClient()
136 if (http_client == NULL) { in CreateHttpClient()
140 return http_client; in CreateHttpClient()
148 AutoPtr<HttpClient> http_client(CreateHttpClient(url.c_str())); in Download() local
150 if (!http_client.get()) { in Download()
163 if (!http_client->CrackUrl(url.c_str(), in Download()
189 if (!http_client->Open(NULL, // user agent in Download()
201 if (!http_client->Connect(internet.get(), in Download()
[all …]
/external/python/oauth2client/tests/contrib/
Dtest_metadata.py20 from six.moves import http_client
46 http_client.OK, 'application/json', json.dumps(DATA))
55 http_client.OK, 'text/html', '<p>Hello World!</p>')
64 http_client.NOT_FOUND, 'text/html', '<p>Error</p>')
75 http_client.OK,
91 http_client.OK, 'application/json', json.dumps(DATA))
/external/python/oauth2client/tests/
Dtest_file.py29 from six.moves import http_client
154 ({'status': str(int(http_client.UNAUTHORIZED))},
156 ({'status': str(int(http_client.UNAUTHORIZED))},
158 ({'status': str(int(http_client.OK))},
160 ({'status': str(int(http_client.OK))},
199 ({'status': str(int(http_client.UNAUTHORIZED))},
201 ({'status': str(int(http_client.UNAUTHORIZED))},
203 ({'status': str(int(http_client.OK))},
205 ({'status': str(int(http_client.OK))}, 'echo_request_body')
Dtest_client.py33 from six.moves import http_client
371 response.status = http_client.OK
376 response.status = http_client.NOT_FOUND
387 http_client_module = six_module.moves.http_client
937 ({'status': http_client.BAD_REQUEST},
944 self.assertEqual(http_client.BAD_REQUEST,
973 self.assertEqual(http_client.BAD_REQUEST, resp.status)
1253 'status': int(http_client.BAD_REQUEST),
1261 'status': int(http_client.INTERNAL_SERVER_ERROR),
1269 'status': http_client.BAD_GATEWAY,
[all …]
/external/autotest/server/cros/
Dgoofy_client.py7 import six.moves.http_client
154 @retry.retry((six.moves.http_client.BadStatusLine, socket.error),
172 @retry_goofy_rpc((six.moves.http_client.BadStatusLine, socket.error),
233 except six.moves.http_client.BadStatusLine:
237 @retry_goofy_rpc((six.moves.http_client.BadStatusLine, socket.error),
281 @retry_goofy_rpc((six.moves.http_client.BadStatusLine, socket.error),
297 @retry_goofy_rpc((six.moves.http_client.BadStatusLine, socket.error),
395 @retry_goofy_rpc((six.moves.http_client.BadStatusLine, socket.error),
/external/python/apitools/apitools/base/py/
Dhttp_wrapper.py31 from six.moves import http_client
59 http_client.MOVED_PERMANENTLY,
60 http_client.FOUND,
61 http_client.SEE_OTHER,
62 http_client.TEMPORARY_REDIRECT,
265 if isinstance(retry_args.exc, (http_client.BadStatusLine,
266 http_client.IncompleteRead,
267 http_client.ResponseNotReady)):
Dhttp_wrapper_test.py21 from six.moves import http_client
117 http_client.BadStatusLine('line'),
118 http_client.IncompleteRead('partial'),
119 http_client.ResponseNotReady(),
Dtransfer.py30 from six.moves import http_client
193 http_client.OK,
194 http_client.NO_CONTENT,
195 http_client.PARTIAL_CONTENT,
196 http_client.REQUESTED_RANGE_NOT_SATISFIABLE,
422 if response.status_code in (http_client.FORBIDDEN,
423 http_client.NOT_FOUND):
427 if response.status_code in (http_client.OK,
428 http_client.PARTIAL_CONTENT):
438 elif response.status_code == http_client.NO_CONTENT:
[all …]
Dtransfer_test.py24 from six.moves import http_client
111 'status': http_client.OK,
128 'status': http_client.REQUESTED_RANGE_NOT_SATISFIABLE,
154 'status': http_client.OK,
181 'status': http_client.OK,
216 'status': http_client.PARTIAL_CONTENT,
225 'status': http_client.OK,
329 info={'status': http_client.OK,
335 info={'status': http_client.SERVICE_UNAVAILABLE,
/external/usrsctp/programs/
DMakefile.nmake59 http_client \
134 http_client:
135 $(CC) $(CFLAGS) $(CVARSDLL) -c http_client.c
136 link -out:http_client.exe http_client.obj programs_helper.obj $(LINKFLAGS)
181 del /F http_client.exe
182 del /F http_client.obj
Dmeson.build22 'http_client': files('http_client.c'),
DMakefile.am54 http_client.c \
79 http_client \ program
121 http_client_SOURCES = programs_helper.c http_client.c
/external/python/oauth2client/tests/contrib/django_util/
Dtest_decorators.py23 from six.moves import http_client
58 self.assertEqual(response.status_code, http_client.OK)
80 self.assertEqual(response.status_code, http_client.OK)
104 self.assertEqual(response.status_code, http_client.OK)
156 self.assertEqual(response.status_code, http_client.OK)
/external/python/oauth2client/scripts/
Drun_gce_system_tests.py18 from six.moves import http_client
47 self.assertEqual(response.status, http_client.OK)
Drun_system_tests.py19 from six.moves import http_client
61 if response.status != http_client.OK:
/external/python/oauth2client/oauth2client/contrib/
D_metadata.py24 from six.moves import http_client
64 if response.status == http_client.OK:
/external/autotest/server/hosts/
Drpc_server_tracker.py6 import six.moves.http_client
194 six.moves.http_client.BadStatusLine),
225 if isinstance(exc, six.moves.http_client.BadStatusLine):
388 conn = six.moves.http_client.HTTPConnection(host, timeout=self.timeout)
/external/python/setuptools/tests/
Dtest_pypi.py5 from setuptools.extern.six.moves import http_client
14 conn = http_client.HTTPSConnection(PYPI_HOSTNAME)
/external/python/setuptools/setuptools/command/
Dupload_docs.py20 from setuptools.extern.six.moves import http_client, urllib
172 conn = http_client.HTTPConnection(netloc)
174 conn = http_client.HTTPSConnection(netloc)
/external/python/oauth2client/oauth2client/
Dtools.py29 from six.moves import http_client
125 self.send_response(http_client.OK)
Dtransport.py19 from six.moves import http_client
29 REFRESH_STATUS_CODES = (http_client.UNAUTHORIZED,)
Dclient.py32 from six.moves import http_client
799 if resp.status == http_client.OK:
864 if resp.status == http_client.OK:
909 if resp.status == http_client.OK:
1008 connection = six.moves.http_client.HTTPConnection(
1015 if response.status == http_client.OK:
1576 if resp.status == http_client.OK:
1946 if resp.status == http_client.OK:
2029 if resp.status == http_client.OK and 'access_token' in d:

123