/third_party/libsoup/tests/ |
D | coding-test.c | 21 options = soup_message_headers_get_one (msg->request_headers, in server_callback() 26 accept_encoding = soup_message_headers_get_list (msg->request_headers, in server_callback() 244 soup_message_headers_append (data->msg->request_headers, in do_coding_test_gzip_with_junk() 256 soup_message_headers_append (data->msg->request_headers, in do_coding_test_gzip_bad_server() 271 soup_message_headers_append (data->msg->request_headers, in do_coding_test_deflate() 284 soup_message_headers_append (data->msg->request_headers, in do_coding_test_deflate_with_junk() 296 soup_message_headers_append (data->msg->request_headers, in do_coding_test_deflate_bad_server() 306 soup_message_headers_append (data->msg->request_headers, in do_coding_test_deflate_raw() 318 soup_message_headers_append (data->msg->request_headers, in do_coding_test_deflate_raw_bad_server() 397 soup_message_headers_append (data->msg->request_headers, in do_coding_req_test_gzip_with_junk() [all …]
|
D | range-test.c | 65 soup_message_headers_get_one (msg->request_headers, "Range")); in do_single_range() 102 soup_message_headers_set_range (msg->request_headers, start, end); in request_single_range() 115 soup_message_headers_get_one (msg->request_headers, "Range")); in do_multi_range() 162 soup_message_headers_set_ranges (msg->request_headers, ranges, 2); in request_double_range() 190 soup_message_headers_set_ranges (msg->request_headers, ranges, 3); in request_triple_range() 217 soup_message_headers_set_ranges (msg->request_headers, ranges, 3); in request_semi_invalid_range()
|
D | cache-test.c | 22 header = soup_message_headers_get_one (msg->request_headers, in server_callback() 30 header = soup_message_headers_get_one (msg->request_headers, in server_callback() 38 last_modified = soup_message_headers_get_one (msg->request_headers, in server_callback() 46 etag = soup_message_headers_get_one (msg->request_headers, in server_callback() 55 header = soup_message_headers_get_one (msg->request_headers, in server_callback() 73 header = soup_message_headers_get_one (msg->request_headers, in server_callback() 80 header = soup_message_headers_get_one (msg->request_headers, in server_callback() 166 soup_message_headers_append (msg->request_headers, in do_request() 256 if (soup_message_headers_get_one (msg->request_headers, in message_starting() 258 soup_message_headers_get_one (msg->request_headers, in message_starting()
|
D | continue-test.c | 75 soup_message_headers_append (msg->request_headers, "Connection", "close"); in EVENT_HANDLER() 77 soup_message_headers_set_expectations (msg->request_headers, in EVENT_HANDLER() 394 if (soup_message_headers_get_expectations (msg->request_headers) & in server_got_headers() 398 length = soup_message_headers_get_one (msg->request_headers, in server_got_headers()
|
D | cookies-test.c | 26 } else if (soup_message_headers_get_one (msg->request_headers, in server_callback() 30 soup_message_headers_get_one (msg->request_headers, in server_callback() 303 soup_message_headers_append (msg->request_headers, "Echo-Set-Cookie", in do_cookies_parsing_test() 309 soup_message_headers_append (msg->request_headers, "Echo-Set-Cookie", in do_cookies_parsing_test() 315 soup_message_headers_append (msg->request_headers, "Echo-Set-Cookie", in do_cookies_parsing_test()
|
D | misc-test.c | 50 redirect_protocol = soup_message_headers_get_one (msg->request_headers, "X-Redirect-Protocol"); in server_callback() 107 soup_message_headers_replace (two->request_headers, "Host", "foo"); in do_host_test() 141 soup_message_headers_append (msg->request_headers, key, value); in do_host_big_header() 634 val = soup_message_headers_get_list (msg->request_headers, in do_one_accept_language_test() 848 soup_message_headers_append (msg->request_headers, "X-Redirect-Protocol", redirect_protocol); in do_aliases_test_for_session() 1082 soup_message_headers_append (msg->request_headers, "Upgrade", "ECHO"); in upgrade_server_callback() 1083 soup_message_headers_append (msg->request_headers, "Connection", "upgrade"); in upgrade_server_callback() 1128 soup_message_headers_append (msg->request_headers, "Upgrade", "echo"); in do_stealing_test() 1129 soup_message_headers_append (msg->request_headers, "Connection", "upgrade"); in do_stealing_test()
|
D | ntlm-test.c | 91 auth = soup_message_headers_get_one (msg->request_headers, in server_callback() 260 header = soup_message_headers_get_one (msg->request_headers, in request_check() 278 header = soup_message_headers_get_one (msg->request_headers, in response_check()
|
/third_party/libsoup/libsoup/ |
D | soup-websocket.c | 221 client_protocols_str = soup_message_headers_get_one (msg->request_headers, in choose_subprotocol() 306 soup_message_headers_replace (msg->request_headers, "Upgrade", "websocket"); in soup_websocket_client_prepare_handshake_with_extensions() 307 soup_message_headers_append (msg->request_headers, "Connection", "Upgrade"); in soup_websocket_client_prepare_handshake_with_extensions() 314 soup_message_headers_replace (msg->request_headers, "Sec-WebSocket-Key", key); in soup_websocket_client_prepare_handshake_with_extensions() 317 soup_message_headers_replace (msg->request_headers, "Sec-WebSocket-Version", "13"); in soup_websocket_client_prepare_handshake_with_extensions() 320 soup_message_headers_replace (msg->request_headers, "Origin", origin); in soup_websocket_client_prepare_handshake_with_extensions() 326 soup_message_headers_replace (msg->request_headers, in soup_websocket_client_prepare_handshake_with_extensions() 362 soup_message_headers_replace (msg->request_headers, in soup_websocket_client_prepare_handshake_with_extensions() 366 soup_message_headers_remove (msg->request_headers, in soup_websocket_client_prepare_handshake_with_extensions() 430 … extensions = soup_message_headers_get_list (msg->request_headers, "Sec-WebSocket-Extensions"); in extract_extension_names_from_request() [all …]
|
D | soup-message-client-io.c | 110 if (!soup_message_headers_get_one (msg->request_headers, "Host")) { in get_request_headers() 123 *encoding = soup_message_headers_get_encoding (msg->request_headers); in get_request_headers() 127 soup_message_headers_get_one (msg->request_headers, "Content-Type")) && in get_request_headers() 128 !soup_message_headers_get_content_length (msg->request_headers)) { in get_request_headers() 130 soup_message_headers_set_content_length (msg->request_headers, in get_request_headers() 134 soup_message_headers_iter_init (&iter, msg->request_headers); in get_request_headers()
|
D | soup-message-server-io.c | 55 msg->request_headers, in parse_request_headers() 75 *encoding = soup_message_headers_get_encoding (msg->request_headers); in parse_request_headers() 77 if (soup_message_headers_get_list (msg->request_headers, "Transfer-Encoding")) in parse_request_headers() 84 req_host = soup_message_headers_get_one (msg->request_headers, "Host"); in parse_request_headers() 164 status = soup_message_headers_get_ranges_internal (msg->request_headers, in handle_partial_get() 177 soup_message_headers_free_ranges (msg->request_headers, ranges); in handle_partial_get() 238 soup_message_headers_free_ranges (msg->request_headers, ranges); in handle_partial_get()
|
D | soup-content-decoder.c | 246 if (!soup_message_headers_get_one (msg->request_headers, in soup_content_decoder_request_queued() 248 soup_message_headers_append (msg->request_headers, in soup_content_decoder_request_queued()
|
D | soup-cache.c | 1124 if (soup_message_headers_get_one (msg->request_headers, "If-Modified-Since") || in soup_cache_has_response() 1125 soup_message_headers_get_list (msg->request_headers, "If-None-Match")) in soup_cache_has_response() 1136 if (soup_message_headers_header_contains (msg->request_headers, "Pragma", "no-cache")) in soup_cache_has_response() 1139 cache_control = soup_message_headers_get_list (msg->request_headers, "Cache-Control"); in soup_cache_has_response() 1382 soup_message_headers_foreach (original->request_headers, in soup_cache_generate_conditional_request() 1384 msg->request_headers); in soup_cache_generate_conditional_request() 1392 soup_message_headers_append (msg->request_headers, in soup_cache_generate_conditional_request() 1396 soup_message_headers_append (msg->request_headers, in soup_cache_generate_conditional_request()
|
D | soup-message.c | 162 msg->request_headers = soup_message_headers_new (SOUP_MESSAGE_HEADERS_REQUEST); in soup_message_init() 190 soup_message_headers_free (msg->request_headers); in soup_message_finalize() 315 g_value_set_boxed (value, msg->request_headers); in soup_message_get_property() 1100 soup_message_headers_replace (msg->request_headers, in soup_message_set_request() 1105 soup_message_headers_remove (msg->request_headers, in soup_message_set_request() 1255 hdrs = priv->server_side ? msg->request_headers : msg->response_headers; in header_handler_metamarshal() 1652 if (soup_message_headers_header_contains (msg->request_headers, in soup_message_is_keepalive()
|
D | soup-form.c | 163 multipart = soup_multipart_new_from_message (msg->request_headers, in soup_form_decode_multipart() 488 soup_multipart_to_message (multipart, msg->request_headers, in soup_form_request_new_from_multipart()
|
D | soup-cookie.c | 949 header = soup_message_headers_get_one (msg->request_headers, "Cookie"); in soup_cookies_from_request() 1012 header = g_string_new (soup_message_headers_get_one (msg->request_headers, in soup_cookies_to_request() 1018 soup_message_headers_replace (msg->request_headers, in soup_cookies_to_request()
|
D | soup-logger.c | 602 if (!soup_message_headers_get_one (msg->request_headers, "Host")) { in print_request() 620 soup_message_headers_iter_init (&iter, msg->request_headers); in print_request() 641 if (soup_message_headers_get_expectations (msg->request_headers) != SOUP_EXPECTATION_CONTINUE) { in print_request()
|
/third_party/gstreamer/gstplugins_bad/tests/check/elements/ |
D | test_http_src.c | 234 if (src->input.request_headers) { in gst_test_http_src_reset_input() 235 gst_structure_free (src->input.request_headers); in gst_test_http_src_reset_input() 236 src->input.request_headers = NULL; in gst_test_http_src_reset_input() 316 if (!src->input.request_headers) { in gst_test_http_src_start() 317 src->input.request_headers = in gst_test_http_src_start() 320 if (!gst_structure_has_field_typed (src->input.request_headers, in gst_test_http_src_start() 322 gst_structure_set (src->input.request_headers, in gst_test_http_src_start() 326 if (!gst_structure_has_field_typed (src->input.request_headers, in gst_test_http_src_start() 328 gst_structure_set (src->input.request_headers, in gst_test_http_src_start() 333 && !gst_structure_has_field_typed (src->input.request_headers, in gst_test_http_src_start() [all …]
|
D | test_http_src.h | 52 GstStructure *request_headers; member
|
/third_party/libsoup/examples/ |
D | simple-proxy.c | 297 soup_message_headers_foreach (msg->request_headers, copy_header, in server_callback() 298 msg2->request_headers); in server_callback() 299 soup_message_headers_remove (msg2->request_headers, "Host"); in server_callback() 300 soup_message_headers_remove (msg2->request_headers, "Connection"); in server_callback()
|
D | simple-httpd.c | 159 const char *match = soup_message_headers_get_one (msg->request_headers, "If-None-Match"); in do_put() 196 soup_message_headers_iter_init (&iter, msg->request_headers); in server_callback()
|
/third_party/gstreamer/gstplugins_good/ext/soup/ |
D | gstsouphttpsrc.c | 971 SoupMessageHeaders *request_headers = in gst_soup_http_src_add_range_header() local 974 _soup_message_headers_remove (request_headers, "Range"); in gst_soup_http_src_add_range_header() 988 _soup_message_headers_append (request_headers, "Range", buf); in gst_soup_http_src_add_range_header() 1000 SoupMessageHeaders *request_headers = in _append_extra_header() local 1022 _soup_message_headers_append (request_headers, field_name, field_content); in _append_extra_header() 1468 SoupMessageHeaders *request_headers = _soup_message_get_request_headers (msg); in gst_soup_http_src_got_headers() local 1501 _soup_message_headers_foreach (request_headers, insert_http_header, headers); in gst_soup_http_src_got_headers() 2024 SoupMessageHeaders *request_headers; in gst_soup_http_src_build_message() local 2035 request_headers = _soup_message_get_request_headers (src->msg); in gst_soup_http_src_build_message() 2044 _soup_message_headers_append (request_headers, "User-Agent", user_agent); in gst_soup_http_src_build_message() [all …]
|
/third_party/gstreamer/gstplugins_bad/ext/curl/ |
D | gstcurlhttpsrc.c | 547 if (source->request_headers) in gst_curl_http_src_set_property() 548 gst_structure_free (source->request_headers); in gst_curl_http_src_set_property() 549 source->request_headers = in gst_curl_http_src_set_property() 639 gst_value_set_structure (value, source->request_headers); in gst_curl_http_src_get_property() 706 source->request_headers = gst_structure_new_empty (REQUEST_HEADERS_NAME); in gst_curl_http_src_init() 1025 REQUEST_HEADERS_NAME, GST_TYPE_STRUCTURE, src->request_headers, in gst_curl_http_src_create() 1227 if (s->request_headers != NULL) { in gst_curl_http_src_create_easy_handle() 1228 gst_structure_foreach (s->request_headers, _headers_to_curl_slist, in gst_curl_http_src_create_easy_handle() 1649 if (src->request_headers) { in gst_curl_http_src_cleanup_instance() 1650 gst_structure_free (src->request_headers); in gst_curl_http_src_cleanup_instance() [all …]
|
D | gstcurlsmtpsink.c | 621 gchar *request_headers; in gst_curl_smtp_sink_set_transfer_options_unlocked() local 667 request_headers = g_strdup_printf ( in gst_curl_smtp_sink_set_transfer_options_unlocked() 688 g_byte_array_append (sink->payload_headers, (guint8 *) request_headers, in gst_curl_smtp_sink_set_transfer_options_unlocked() 689 strlen (request_headers)); in gst_curl_smtp_sink_set_transfer_options_unlocked() 695 g_free (request_headers); in gst_curl_smtp_sink_set_transfer_options_unlocked()
|
D | gstcurlhttpsrc.h | 169 GstStructure *request_headers; /* CURLOPT_HTTPHEADER */ member
|
/third_party/gstreamer/gstplugins_good/ext/soup/stub/ |
D | soup.h | 153 SoupMessageHeaders *request_headers; member
|