Home
last modified time | relevance | path

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

12

/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/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))
Dtest_gce.py22 from six.moves import http_client
91 http_client.NOT_FOUND,
/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/python/apitools/apitools/base/py/
Dhttp_wrapper_test.py21 from six.moves import http_client
64 http_client.BadStatusLine('line'),
65 http_client.IncompleteRead('partial'),
66 http_client.ResponseNotReady(),
Dhttp_wrapper.py32 from six.moves import http_client
54 http_client.MOVED_PERMANENTLY,
55 http_client.FOUND,
56 http_client.SEE_OTHER,
57 http_client.TEMPORARY_REDIRECT,
260 if isinstance(retry_args.exc, (http_client.BadStatusLine,
261 http_client.IncompleteRead,
262 http_client.ResponseNotReady)):
Dtransfer.py30 from six.moves import http_client
192 http_client.OK,
193 http_client.NO_CONTENT,
194 http_client.PARTIAL_CONTENT,
195 http_client.REQUESTED_RANGE_NOT_SATISFIABLE,
417 if response.status_code in (http_client.FORBIDDEN,
418 http_client.NOT_FOUND):
422 if response.status_code in (http_client.OK,
423 http_client.PARTIAL_CONTENT):
430 elif response.status_code == http_client.NO_CONTENT:
[all …]
Dtransfer_test.py22 from six.moves import http_client
111 'status': http_client.OK,
138 'status': http_client.OK,
173 'status': http_client.PARTIAL_CONTENT,
182 'status': http_client.OK,
Dbatch.py29 from six.moves import http_client
91 set(retryable_codes + [http_client.UNAUTHORIZED]))
116 self.__http_response.status_code == http_client.UNAUTHORIZED))
Dutil.py24 from six.moves import http_client
72 return (o.getcode() == http_client.OK and
/external/python/apitools/apitools/scripts/
Doauth2l_test.py25 from six.moves import http_client
38 if self.status_code == http_client.OK:
42 self.info = str(http_client.responses[self.status_code])
310 response = _FakeResponse(http_client.OK, scopes=scopes)
321 response = _FakeResponse(http_client.OK, scopes=scopes)
330 response = _FakeResponse(http_client.BAD_REQUEST)
339 response = _FakeResponse(http_client.INTERNAL_SERVER_ERROR)
344 self.assertIn(str(http_client.responses[response.status_code]),
Doauth2l.py64 from six.moves import http_client
158 if response.status_code not in [http_client.OK, http_client.BAD_REQUEST]:
160 if response.status_code == http_client.BAD_REQUEST:
/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/oauth2client/contrib/
D_metadata.py24 from six.moves import http_client
64 if response.status == 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/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/
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:
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,)
/external/python/setuptools/setuptools/
Dssl_support.py7 from setuptools.extern.six.moves import urllib, http_client, map, filter
34 HTTPSConnection = http_client.HTTPSConnection

12