Home
last modified time | relevance | path

Searched refs:insert_header (Results 1 – 25 of 178) sorted by relevance

12345678

/dports/www/miniserve/miniserve-0.18.0/cargo-crates/actix-http-3.0.0-beta.9/src/ws/
H A Dmod.rs214 .insert_header(( in handshake_response()
251 .insert_header(( in test_handshake()
262 .insert_header(( in test_handshake()
266 .insert_header(( in test_handshake()
277 .insert_header(( in test_handshake()
281 .insert_header(( in test_handshake()
285 .insert_header(( in test_handshake()
296 .insert_header(( in test_handshake()
300 .insert_header(( in test_handshake()
304 .insert_header(( in test_handshake()
[all …]
/dports/www/miniserve/miniserve-0.18.0/cargo-crates/actix-http-3.0.0-beta.9/src/
H A Dhttp_message.rs145 .insert_header(("content-type", "text/plain")) in test_content_type()
149 .insert_header(("content-type", "application/json; charset=utf=8")) in test_content_type()
159 .insert_header(("content-type", "application/json")) in test_mime_type()
165 .insert_header(("content-type", "application/json; charset=utf-8")) in test_mime_type()
176 .insert_header(("content-type", "applicationadfadsfasdflknadsfklnadsfjson")) in test_mime_type_error()
187 .insert_header(("content-type", "application/json")) in test_encoding()
192 .insert_header(("content-type", "application/json; charset=ISO-8859-2")) in test_encoding()
200 .insert_header(("content-type", "applicatjson")) in test_encoding_error()
205 .insert_header(("content-type", "application/json; charset=kkkttktk")) in test_encoding_error()
219 .insert_header((header::TRANSFER_ENCODING, "chunked")) in test_chunked()
[all …]
H A Dresponse_builder.rs103 pub fn insert_header<H>(&mut self, header: H) -> &mut Self in insert_header() method
177 self.insert_header((header::UPGRADE, value)); in upgrade()
196 self.insert_header((header::CONTENT_LENGTH, buf.format(len))); in no_chunking()
366 .insert_header(("X-TEST", "value")) in test_basic_builder()
418 res.insert_header(("Content-Type", "application/octet-stream")); in response_builder_header_insert_kv()
430 res.insert_header((header::CONTENT_TYPE, mime::APPLICATION_OCTET_STREAM)); in response_builder_header_insert_typed()
/dports/www/miniserve/miniserve-0.18.0/cargo-crates/actix-web-4.0.0-beta.8/src/types/
H A Djson.rs493 .insert_header(( in test_custom_error_responder()
497 .insert_header(( in test_custom_error_responder()
524 .insert_header(( in test_extract()
528 .insert_header(( in test_extract()
545 .insert_header(( in test_extract()
549 .insert_header(( in test_extract()
562 .insert_header(( in test_extract()
566 .insert_header(( in test_extract()
588 .insert_header(( in test_json_body()
597 .insert_header(( in test_json_body()
[all …]
H A Dform.rs422 .insert_header((CONTENT_TYPE, "application/x-www-form-urlencoded")) in test_form()
423 .insert_header((CONTENT_LENGTH, 11)) in test_form()
452 .insert_header((CONTENT_LENGTH, "xxxx")) in test_urlencoded_error()
459 .insert_header((CONTENT_LENGTH, "1000000")) in test_urlencoded_error()
468 .insert_header((CONTENT_TYPE, "text/plain")) in test_urlencoded_error()
469 .insert_header((CONTENT_LENGTH, 10)) in test_urlencoded_error()
479 .insert_header((CONTENT_LENGTH, 11)) in test_urlencoded()
493 .insert_header(( in test_urlencoded()
497 .insert_header((CONTENT_LENGTH, 11)) in test_urlencoded()
535 .insert_header((CONTENT_TYPE, ctype)) in test_with_config_in_data_wrapper()
[all …]
H A Dpayload.rs392 .insert_header((header::CONTENT_TYPE, "application/x-www-form-urlencoded")) in test_payload_config()
397 .insert_header((header::CONTENT_TYPE, "application/json")) in test_payload_config()
456 .insert_header(header::ContentType(mime::APPLICATION_JSON)) in test_config_recall_locations()
462 .insert_header(header::ContentType(mime::APPLICATION_JSON)) in test_config_recall_locations()
468 .insert_header(header::ContentType(mime::APPLICATION_JSON)) in test_config_recall_locations()
474 .insert_header(header::ContentType(mime::APPLICATION_JSON)) in test_config_recall_locations()
483 .insert_header((header::CONTENT_LENGTH, "11")) in test_bytes()
494 .insert_header((header::CONTENT_LENGTH, "11")) in test_string()
505 .insert_header((header::CONTENT_LENGTH, "xxxx")) in test_message_body()
515 .insert_header((header::CONTENT_LENGTH, "1000000")) in test_message_body()
/dports/www/miniserve/miniserve-0.18.0/cargo-crates/actix-web-4.0.0-beta.8/src/
H A Dinfo.rs288 .insert_header((header::HOST, "rust-lang.org")) in host_header()
300 .insert_header((X_FORWARDED_FOR, "192.0.2.60")) in x_forwarded_for_header()
309 .insert_header((X_FORWARDED_HOST, "192.0.2.60")) in x_forwarded_host_header()
319 .insert_header((X_FORWARDED_PROTO, "https")) in x_forwarded_proto_header()
328 .insert_header(( in forwarded_header()
340 .insert_header(( in forwarded_header()
355 .insert_header((header::FORWARDED, "For=192.0.2.60")) in forwarded_case_sensitivity()
364 .insert_header((header::FORWARDED, "for= 1.2.3.4; proto= https")) in forwarded_weird_whitespace()
371 .insert_header((header::FORWARDED, " for = 1.2.3.4 ")) in forwarded_weird_whitespace()
380 .insert_header((header::FORWARDED, r#"for="192.0.2.60:8080""#)) in forwarded_for_quoted()
[all …]
H A Dextract.rs393 .insert_header((header::CONTENT_TYPE, "application/x-www-form-urlencoded")) in test_option()
403 .insert_header((header::CONTENT_TYPE, "application/x-www-form-urlencoded")) in test_option()
404 .insert_header((header::CONTENT_LENGTH, "9")) in test_option()
419 .insert_header((header::CONTENT_TYPE, "application/x-www-form-urlencoded")) in test_option()
420 .insert_header((header::CONTENT_LENGTH, "9")) in test_option()
433 .insert_header((header::CONTENT_TYPE, "application/x-www-form-urlencoded")) in test_result()
434 .insert_header((header::CONTENT_LENGTH, "11")) in test_result()
450 .insert_header((header::CONTENT_TYPE, "application/x-www-form-urlencoded")) in test_result()
451 .insert_header((header::CONTENT_LENGTH, 9)) in test_result()
H A Dtest.rs449 pub fn insert_header<H>(mut self, header: H) -> Self in insert_header() method
453 self.req.insert_header(header); in insert_header()
497 self.req.insert_header(ContentType::form_url_encoded()); in set_form()
506 self.req.insert_header(ContentType::json()); in set_json()
637 .insert_header(header::ContentType::json()) in test_basics()
638 .insert_header(header::Date(SystemTime::now().into())) in test_basics()
675 .insert_header((header::CONTENT_TYPE, "application/json")) in test_request_methods()
683 .insert_header((header::CONTENT_TYPE, "application/json")) in test_request_methods()
706 .insert_header((header::CONTENT_TYPE, "application/json")) in test_response()
749 .insert_header((header::CONTENT_TYPE, "application/json")) in test_response_json()
[all …]
/dports/www/miniserve/miniserve-0.18.0/cargo-crates/actix-files-0.6.0-beta.6/src/
H A Dnamed.rs319 res.insert_header((header::CONTENT_TYPE, ct.to_string())); in into_response()
321 res.insert_header((header::CONTENT_TYPE, self.content_type.to_string())); in into_response()
325 res.insert_header(( in into_response()
392 resp.insert_header((header::CONTENT_TYPE, ct.to_string())); in into_response()
394 resp.insert_header((header::CONTENT_TYPE, self.content_type.to_string())); in into_response()
398 resp.insert_header(( in into_response()
410 resp.insert_header((header::LAST_MODIFIED, lm.to_string())); in into_response()
414 resp.insert_header((header::ETAG, etag.to_string())); in into_response()
417 resp.insert_header((header::ACCEPT_RANGES, "bytes")); in into_response()
430 resp.insert_header(( in into_response()
[all …]
H A Dlib.rs107 .insert_header((header::IF_MODIFIED_SINCE, since)) in test_if_modified_since_without_if_none_match()
119 .insert_header((header::IF_MODIFIED_SINCE, since)) in test_if_modified_since_without_if_none_match_same()
131 .insert_header((header::IF_NONE_MATCH, "miss_etag")) in test_if_modified_since_with_if_none_match()
132 .insert_header((header::IF_MODIFIED_SINCE, since)) in test_if_modified_since_with_if_none_match()
418 .insert_header((header::RANGE, "bytes=10-20")) in test_named_file_ranges_status_code()
426 .insert_header((header::RANGE, "bytes=1-0")) in test_named_file_ranges_status_code()
440 .insert_header((header::RANGE, "bytes=10-20")) in test_named_file_content_range_headers()
450 .insert_header((header::RANGE, "bytes=10-5")) in test_named_file_content_range_headers()
465 .insert_header((header::RANGE, "bytes=10-20")) in test_named_file_content_length_headers()
475 .insert_header((header::RANGE, "bytes=0-20")) in test_named_file_content_length_headers()
[all …]
/dports/www/miniserve/miniserve-0.18.0/cargo-crates/actix-http-3.0.0-beta.9/tests/
H A Dtest_client.rs47 let request = srv.get("/").insert_header(("x-test", "111")).send(); in test_h1_v2()
137 .insert_header(("Expect", "100-continue")); in test_h1_expect()
145 .insert_header(("Expect", "100-continue")); in test_h1_expect()
153 .insert_header(("Expect", "100-continue")) in test_h1_expect()
154 .insert_header(("AUTH", "996")); in test_h1_expect()
/dports/editors/libreoffice/libreoffice-7.2.6.2/sw/qa/uitest/writer_tests4/
H A DinsertPageHeader.py11 def insert_header(self): member in WriterInsertPageHeader
43 self.insert_header()
52 self.insert_header()
/dports/editors/libreoffice6/libreoffice-6.4.7.2/uitest/writer_tests/
H A DinsertPageHeader.py11 def insert_header(self): member in WriterInsertPageHeader
43 self.insert_header()
52 self.insert_header()
/dports/www/miniserve/miniserve-0.18.0/cargo-crates/actix-web-4.0.0-beta.8/src/response/
H A Dbuilder.rs73 pub fn insert_header<H>(&mut self, header: H) -> &mut Self in insert_header() method
130 (Ok(name), Ok(value)) => return self.insert_header((name, value)), in set_header()
191 self.insert_header((header::UPGRADE, value)); in upgrade()
210 self.insert_header((header::CONTENT_LENGTH, buf.format(len))); in no_chunking()
376 self.insert_header((header::CONTENT_TYPE, mime::APPLICATION_JSON)); in json()
449 .insert_header(("X-TEST", "value")) in test_basic_builder()
502 .insert_header((CONTENT_TYPE, "text/json")) in test_json()
527 res.insert_header(("Content-Type", "application/octet-stream")); in response_builder_header_insert_kv()
539 res.insert_header((header::CONTENT_TYPE, mime::APPLICATION_OCTET_STREAM)); in response_builder_header_insert_typed()
/dports/www/miniserve/miniserve-0.18.0/cargo-crates/actix-web-4.0.0-beta.8/src/http/header/
H A Dcache_control.rs196 .insert_header((header::CACHE_CONTROL, "no-cache, private")) in test_parse_multiple_headers()
211 .insert_header((header::CACHE_CONTROL, "max-age=100, private")) in test_parse_argument()
226 .insert_header((header::CACHE_CONTROL, "max-age=\"200\"")) in test_parse_quote_form()
238 .insert_header((header::CACHE_CONTROL, "foo, bar=baz")) in test_parse_extension()
253 .insert_header((header::CACHE_CONTROL, "foo=")) in test_parse_bad_syntax()
H A Dif_none_match.rs77 .insert_header((IF_NONE_MATCH, "*")) in test_if_none_match()
83 .insert_header((IF_NONE_MATCH, &b"\"foobar\", W/\"weak-etag\""[..])) in test_if_none_match()
/dports/sysutils/cfengine316/cfengine-3.16.0/tests/acceptance/10_files/09_insert_lines/
H A Dblock_insert_duplicate.cf29 edit_line => insert_header;
49 edit_line => insert_header;
52 bundle edit_line insert_header
/dports/sysutils/cfengine317/cfengine-3.17.0/tests/acceptance/10_files/09_insert_lines/
H A Dblock_insert_duplicate.cf29 edit_line => insert_header;
49 edit_line => insert_header;
52 bundle edit_line insert_header
/dports/sysutils/cfengine/cfengine-3.19.0/tests/acceptance/10_files/09_insert_lines/
H A Dblock_insert_duplicate.cf29 edit_line => insert_header;
49 edit_line => insert_header;
52 bundle edit_line insert_header
/dports/sysutils/cfengine318/cfengine-3.18.1/tests/acceptance/10_files/09_insert_lines/
H A Dblock_insert_duplicate.cf29 edit_line => insert_header;
49 edit_line => insert_header;
52 bundle edit_line insert_header
/dports/sysutils/cfengine-devel/core-d08ae9eff/tests/acceptance/10_files/09_insert_lines/
H A Dblock_insert_duplicate.cf29 edit_line => insert_header;
49 edit_line => insert_header;
52 bundle edit_line insert_header
/dports/sysutils/cfengine319/cfengine-3.19.0/tests/acceptance/10_files/09_insert_lines/
H A Dblock_insert_duplicate.cf29 edit_line => insert_header;
49 edit_line => insert_header;
52 bundle edit_line insert_header
/dports/net/p5-Net-SIP/Net-SIP-0.832/lib/Net/SIP/
H A DLeg.pm286 $packet->insert_header( 'record-route', '<'.$self->{contact}.';lr>' )
336 $packet->insert_header( 'record-route', '<'.$self->{contact}.';lr>' )
409 $packet->insert_header( contact => $contact );
413 $packet->insert_header( allow => 'INVITE, ACK, OPTIONS, CANCEL, BYE' );
417 $packet->insert_header( supported => '' );
501 $packet->insert_header( via => $self->{via}.$self->via_branch($packet,3));
/dports/devel/boost-docs/boost_1_72_0/libs/hof/doc/
H A Dconf.py387 def insert_header(lines, f): function
405 source[0] = '\n'.join(insert_header(md, os.path.relpath(path, include_dir)))

12345678