Home
last modified time | relevance | path

Searched refs:http_response (Results 1 – 13 of 13) sorted by relevance

/third_party/skia/third_party/externals/microhttpd/src/examples/
Dmhd2spdy_http.c298 proxy->http_response = MHD_create_response_from_callback (MHD_SIZE_UNKNOWN, in http_cb_request()
304 if (NULL == proxy->http_response) in http_cb_request()
307 if(MHD_NO == MHD_add_response_header (proxy->http_response, in http_cb_request()
310 if(MHD_NO == MHD_add_response_header (proxy->http_response, in http_cb_request()
313 if(MHD_NO == MHD_add_response_header (proxy->http_response, in http_cb_request()
352 if(MHD_NO == MHD_add_response_header (proxy->http_response, in http_create_response()
360 if(MHD_NO == MHD_queue_response (proxy->http_connection, proxy->status, proxy->http_response)){ in http_create_response()
367 MHD_destroy_response (proxy->http_response); in http_create_response()
368 proxy->http_response = NULL; in http_create_response()
390 if(NULL != proxy->http_response) in http_cb_request_completed()
[all …]
Dmhd2spdy_structures.h106 struct MHD_Response *http_response; member
/third_party/pulseaudio/src/pulsecore/
Dprotocol-http.c300 static void http_response( in http_response() function
333 http_response(c, code, msg, MIME_HTML); in html_response()
374 http_response(c, 200, "OK", MIME_HTML); in handle_root()
418 http_response(c, 200, "OK", MIME_CSS); in handle_css()
442 http_response(c, 200, "OK", MIME_TEXT); in handle_status()
461 http_response(c, 200, "OK", MIME_HTML); in handle_listen()
598 http_response(c, 200, "OK", t); in handle_listen_prefix()
/third_party/grpc/test/core/security/
Dcredentials_test.cc160 static grpc_httpcli_response http_response(int status, const char* body) { in http_response() function
219 http_response(200, valid_oauth2_json_response); in test_oauth2_token_fetcher_creds_parsing_ok()
236 http_response(401, valid_oauth2_json_response); in test_oauth2_token_fetcher_creds_parsing_bad_http_status()
247 grpc_httpcli_response response = http_response(200, ""); in test_oauth2_token_fetcher_creds_parsing_empty_http_body()
259 http_response(200, in test_oauth2_token_fetcher_creds_parsing_invalid_json()
273 grpc_httpcli_response response = http_response(200, in test_oauth2_token_fetcher_creds_parsing_missing_token()
288 http_response(200, in test_oauth2_token_fetcher_creds_parsing_missing_token_type()
304 http_response(200, in test_oauth2_token_fetcher_creds_parsing_missing_token_lifetime()
588 *response = http_response(200, valid_oauth2_json_response); in compute_engine_httpcli_get_success_override()
597 *response = http_response(403, "Not Authorized."); in compute_engine_httpcli_get_failure_override()
[all …]
Djwt_verifier_test.cc329 static grpc_httpcli_response http_response(int status, char* body) { in http_response() function
349 *response = http_response(200, good_google_email_keys()); in httpcli_get_google_keys_for_email()
395 *response = http_response(200, gpr_strdup(good_jwk_set)); in httpcli_get_custom_keys_for_email()
428 *response = http_response(200, gpr_strdup(good_jwk_set)); in httpcli_get_jwk_set()
440 *response = http_response(200, gpr_strdup(good_openid_config)); in httpcli_get_openid_config()
483 *response = http_response(200, gpr_strdup("{\"bad\": \"stuff\"}")); in httpcli_get_bad_json()
/third_party/libwebsockets/lib/roles/ws/
Dclient-ws.c259 if (wsi->http.ah->http_response == 401) { in lws_client_ws_upgrade()
261 wsi->http.ah->http_response); in lws_client_ws_upgrade()
266 if (wsi->http.ah->http_response != 101) { in lws_client_ws_upgrade()
268 wsi->http.ah->http_response); in lws_client_ws_upgrade()
/third_party/libwebsockets/lib/roles/http/client/
Dclient-http.c575 if (wsi->http.ah && wsi->http.ah->http_response) in lws_http_client_http_response()
576 return wsi->http.ah->http_response; in lws_http_client_http_response()
635 ah->http_response = 0; in lws_client_interpret_server_handshake()
696 ah->http_response = (unsigned int)n; in lws_client_interpret_server_handshake()
/third_party/libwebsockets/lib/roles/http/
Dprivate-lib-roles-http.h128 ah_data_idx_t http_response; member
Dparsers.c96 ah->http_response = 0; in _lws_header_table_reset()
/third_party/python/Lib/urllib/
Drequest.py628 def http_response(self, request, response): member in HTTPErrorProcessor
639 https_response = http_response
1037 def http_response(self, req, response): member in AbstractBasicAuthHandler
1046 https_response = http_response
1409 def http_response(self, request, response): member in HTTPCookieProcessor
1414 https_response = http_response
/third_party/python/Lib/test/
Dtest_urllib2.py1125 newr = h.http_response(req, r)
1129 newr = h.http_response(req, r)
1133 newr = h.http_response(req, r)
1138 self.assertIsNone(h.http_response(req, r))
1154 newr = h.http_response(req, r)
/third_party/boost/libs/beast/doc/qbk/08_design/
D2_http_comparison.qbk271 and one for responses (`http_response`). Each interface maintains a private
334 _ASYNCRTIMP pplx::task<void> reply(const http_response &response);
339 pplx::task<void> _reply_impl(http_response response);
/third_party/python/Doc/library/
Durllib.request.rst616 with the actual protocol to handle, for example :meth:`http_response` would
1152 .. method:: HTTPErrorProcessor.http_response(request, response)
1168 The behavior is same as :meth:`http_response`.