Home
last modified time | relevance | path

Searched refs:with_header (Results 1 – 25 of 407) sorted by relevance

12345678910>>...17

/dports/net/proby/proby-1.0.2/cargo-crates/isahc-0.7.6/tests/
H A Dredirects.rs13 .with_header("Location", "/2")
28 .with_header("Location", "/2")
54 .with_header("Location", "/b")
55 .with_header("X-Foo", "aaa")
56 .with_header("X-Bar", "zzz")
60 .with_header("X-Foo", "bbb")
61 .with_header("X-Baz", "zzz")
83 .with_header("Location", "/2")
105 .with_header("Location", "/2")
110 .with_header("Location", "/")
[all …]
H A Dencoding.rs22 .with_header("Content-Encoding", "gzip")
42 .with_header("Content-Encoding", "deflate")
62 .with_header("Content-Encoding", "gzip")
79 .with_header("Content-Encoding", "foo")
/dports/net/proby/proby-1.0.2/cargo-crates/actix-http-1.0.1/src/
H A Dhttpmessage.rs177 let req = TestRequest::with_header("content-type", "text/plain").finish(); in test_content_type()
180 TestRequest::with_header("content-type", "application/json; charset=utf=8") in test_content_type()
189 let req = TestRequest::with_header("content-type", "application/json").finish(); in test_mime_type()
194 TestRequest::with_header("content-type", "application/json; charset=utf-8") in test_mime_type()
204 let req = TestRequest::with_header( in test_mime_type_error()
217 let req = TestRequest::with_header("content-type", "application/json").finish(); in test_encoding()
220 let req = TestRequest::with_header( in test_encoding()
230 let req = TestRequest::with_header("content-type", "applicatjson").finish(); in test_encoding_error()
233 let req = TestRequest::with_header( in test_encoding_error()
250 TestRequest::with_header(header::TRANSFER_ENCODING, "chunked").finish(); in test_chunked()
/dports/misc/xd-rust/delan-xd-4bdbb191ed6d/cargo-crates/color-eyre-0.5.7/src/section/
H A Dgithub.rs73 Collapsed(ConsoleSection(st.with_header("SpanTrace:\n"))), in fmt()
81 DisplayFromDebug(bt).with_header("Backtrace:\n"), in fmt()
96 url.with_header("Consider reporting this error using this URL: ") in fmt()
119 .with_header("## ") in push_section()
120 .with_header(separator) in push_section()
123 write!(&mut self.body, "{}", section.with_header(header)) in push_section()
163 (&self.0).with_header("```\n").with_footer("\n```").fmt(f) in fmt()
175 .with_header("\n<details>\n\n") in fmt()
/dports/devel/sentry-cli/sentry-cli-1.71.0/tests/commands/
H A Dreleases_list.rs15 .with_header("content-type", "application/json") in displays_releases()
41 .with_header("content-type", "application/json") in displays_releases_with_projects()
69 .with_header("content-type", "application/json") in displays_releases_in_raw_mode()
86 .with_header("content-type", "application/json") in displays_releases_in_raw_mode_with_delimiter()
103 .with_header("content-type", "application/json") in doesnt_fail_with_empty_response()
H A Dreleases_new.rs14 .with_header("content-type", "application/json") in creates_release()
34 .with_header("content-type", "application/json") in allows_for_release_to_start_with_hyphen()
54 .with_header("content-type", "application/json") in creates_release_even_if_one_already_exists()
75 .with_header("content-type", "application/json") in creates_release_with_custom_url()
104 .with_header("content-type", "application/json") in creates_release_which_is_instantly_finalized()
H A Dreleases_finalize.rs18 .with_header("content-type", "application/json") in successfully_creates_a_release()
39 .with_header("content-type", "application/json") in allows_for_release_to_start_with_hyphen()
61 .with_header("content-type", "application/json") in release_with_custom_dates()
/dports/www/zola/zola-0.15.2/components/link_checker/src/
H A Dlib.rs146 .with_header("Content-Type", "text/html") in can_validate_ok_links()
172 .with_header("Content-Type", "text/plain") in can_follow_301_links()
173 .with_header("Location", format!("{}/rbs5avjs8e", mockito::server_url()).as_str()) in can_follow_301_links()
178 .with_header("Content-Type", "text/plain") in can_follow_301_links()
208 .with_header("Content-Type", "text/plain") in can_fail_301_to_404_links()
209 .with_header("Location", format!("{}/72zmfg4smd", mockito::server_url()).as_str()) in can_fail_301_to_404_links()
215 .with_header("Content-Type", "text/plain") in can_fail_301_to_404_links()
230 .with_header("Content-Type", "text/plain") in can_fail_404_links()
245 .with_header("Content-Type", "text/plain") in can_fail_500_links()
344 .with_header("Content-Type", "text/html") in skip_anchor_prefixes()
[all …]
/dports/net/oha/oha-0.4.7/cargo-crates/warp-0.3.1/src/
H A Dredirect.rs24 reply::with_header( in redirect()
46 reply::with_header(StatusCode::SEE_OTHER, header::LOCATION, uri.header_value()) in see_other()
65 reply::with_header( in temporary()
88 reply::with_header( in permanent()
/dports/textproc/mdbook/mdBook-0.4.13/cargo-crates/warp-0.3.1/src/
H A Dredirect.rs24 reply::with_header( in redirect()
46 reply::with_header(StatusCode::SEE_OTHER, header::LOCATION, uri.header_value()) in see_other()
65 reply::with_header( in temporary()
88 reply::with_header( in permanent()
/dports/devel/sccache/sccache-0.2.15/cargo-crates/tiny_http-0.6.2/examples/
H A Dwebsockets.rs32 .with_header("Content-type: text/html".parse::<tiny_http::Header>().unwrap()) in home_page()
89 .with_header("Upgrade: websocket".parse::<tiny_http::Header>().unwrap()) in main()
90 .with_header("Connection: Upgrade".parse::<tiny_http::Header>().unwrap()) in main()
91 .with_header("Sec-WebSocket-Protocol: ping".parse::<tiny_http::Header>().unwrap()) in main()
92 .with_header( in main()
/dports/math/armadillo/armadillo-10.7.1/include/armadillo_bits/
H A Dcsv_name.hpp68 static const opts_with_header with_header; variable
95 , opts (csv_opts::with_header) in csv_name()
103 , opts (csv_opts::with_header) in csv_name()
111 , opts (csv_opts::with_header + in_opts) in csv_name()
119 , opts (csv_opts::with_header + in_opts) in csv_name()
/dports/math/R-cran-RcppArmadillo/RcppArmadillo/inst/include/armadillo_bits/
H A Dcsv_name.hpp68 static const opts_with_header with_header; variable
95 , opts (csv_opts::with_header) in csv_name()
103 , opts (csv_opts::with_header) in csv_name()
111 , opts (csv_opts::with_header + in_opts) in csv_name()
119 , opts (csv_opts::with_header + in_opts) in csv_name()
/dports/net/krill/krill-0.9.4/cargo-crates/tiny_http-0.8.2/examples/
H A Dwebsockets.rs34 .with_header( in home_page()
113 .with_header("Upgrade: websocket".parse::<tiny_http::Header>().unwrap()) in main()
114 .with_header("Connection: Upgrade".parse::<tiny_http::Header>().unwrap()) in main()
115 .with_header( in main()
120 .with_header( in main()
/dports/biology/py-gffutils/gffutils-0.10.1/gffutils/
H A Dgffwriter.py35 def __init__(self, out, with_header=True, in_place=False): argument
37 self.with_header = with_header
60 if self.with_header:
/dports/net/proby/proby-1.0.2/cargo-crates/actix-http-1.0.1/src/header/common/
H A Dcache_control.rs199 let req = TestRequest::with_header(header::CACHE_CONTROL, "no-cache, private") in test_parse_multiple_headers()
214 TestRequest::with_header(header::CACHE_CONTROL, "max-age=100, private") in test_parse_argument()
229 TestRequest::with_header(header::CACHE_CONTROL, "max-age=\"200\"").finish(); in test_parse_quote_form()
240 TestRequest::with_header(header::CACHE_CONTROL, "foo, bar=baz").finish(); in test_parse_extension()
253 let req = TestRequest::with_header(header::CACHE_CONTROL, "foo=").finish(); in test_parse_bad_syntax()
/dports/games/cataclysm-dda-tiles/Cataclysm-DDA-0.F/tools/json_tools/
H A Dtable.py55 parser.set_defaults(with_header=True, tileset_types_only=False)
213 none_string, with_header): argument
214 if with_header:
233 json_data, args.columns, args.type, args.nonestring, args.with_header)
/dports/games/cataclysm-dda/Cataclysm-DDA-0.F/tools/json_tools/
H A Dtable.py55 parser.set_defaults(with_header=True, tileset_types_only=False)
213 none_string, with_header): argument
214 if with_header:
233 json_data, args.columns, args.type, args.nonestring, args.with_header)
/dports/net/proby/proby-1.0.2/cargo-crates/actix-web-2.0.0/src/
H A Dextract.rs284 let (req, mut pl) = TestRequest::with_header( in test_option()
296 let (req, mut pl) = TestRequest::with_header( in test_option()
314 let (req, mut pl) = TestRequest::with_header( in test_option()
330 let (req, mut pl) = TestRequest::with_header( in test_result()
349 let (req, mut pl) = TestRequest::with_header( in test_result()
/dports/sysutils/vector/vector-0.10.0/cargo-crates/warp-0.2.3/src/
H A Dredirect.rs24 reply::with_header( in redirect()
44 reply::with_header( in temporary()
/dports/www/firefox/firefox-99.0/third_party/rust/warp/src/
H A Dredirect.rs24 reply::with_header( in redirect()
44 reply::with_header( in temporary()
/dports/mail/thunderbird/thunderbird-91.8.0/third_party/rust/warp/src/
H A Dredirect.rs24 reply::with_header( in redirect()
44 reply::with_header( in temporary()
/dports/www/firefox-esr/firefox-91.8.0/third_party/rust/warp/src/
H A Dredirect.rs24 reply::with_header( in redirect()
44 reply::with_header( in temporary()
/dports/lang/spidermonkey78/firefox-78.9.0/third_party/rust/warp/src/
H A Dredirect.rs24 reply::with_header( in redirect()
44 reply::with_header( in temporary()
/dports/net/proby/proby-1.0.2/cargo-crates/actix-web-2.0.0/src/types/
H A Dpayload.rs414 let req = TestRequest::with_header( in test_payload_config()
421 let req = TestRequest::with_header(header::CONTENT_TYPE, "application/json") in test_payload_config()
428 let (req, mut pl) = TestRequest::with_header(header::CONTENT_LENGTH, "11") in test_bytes()
438 let (req, mut pl) = TestRequest::with_header(header::CONTENT_LENGTH, "11") in test_string()
448 let (req, mut pl) = TestRequest::with_header(header::CONTENT_LENGTH, "xxxx") in test_message_body()
457 let (req, mut pl) = TestRequest::with_header(header::CONTENT_LENGTH, "1000000") in test_message_body()

12345678910>>...17