SYMBOL INDEX (735 symbols across 32 files) FILE: build.rs function build_syntax (line 9) | fn build_syntax(dir: &str, out: &str) { function feature_status (line 17) | fn feature_status(feature: &str) -> String { function features (line 30) | fn features() -> String { function main (line 38) | fn main() { FILE: src/auth.rs type Auth (line 15) | pub enum Auth { method from_str (line 22) | pub fn from_str(auth: &str, auth_type: AuthType, host: &str) -> Result... method from_netrc (line 39) | pub fn from_netrc(auth_type: AuthType, entry: netrc::Entry) -> Option<... function parse_auth (line 48) | pub fn parse_auth(auth: &str, host: &str) -> io::Result<(String, Option<... type DigestAuthMiddleware (line 63) | pub struct DigestAuthMiddleware<'a> { function new (line 69) | pub fn new(username: &'a str, password: &'a str) -> Self { method handle (line 75) | fn handle(&mut self, mut ctx: Context, mut request: Request) -> Result Self { method stderr (line 56) | pub fn stderr() -> Self { method redirect (line 64) | pub fn redirect() -> Self { method file (line 72) | pub fn file(file: std::fs::File) -> Self { method is_terminal (line 80) | pub fn is_terminal(&self) -> bool { method is_redirect (line 84) | pub fn is_redirect(&self) -> bool { method is_stdout (line 89) | pub fn is_stdout(&self) -> bool { method is_stderr (line 94) | pub fn is_stderr(&self) -> bool { method is_file (line 99) | pub fn is_file(&self) -> bool { method stdout (line 179) | pub fn stdout() -> Self { method stderr (line 187) | pub fn stderr() -> Self { method redirect (line 195) | pub fn redirect() -> Self { method file (line 199) | pub fn file(file: std::fs::File) -> Self { method is_terminal (line 203) | pub fn is_terminal(&self) -> bool { method is_redirect (line 207) | pub fn is_redirect(&self) -> bool { method is_stdout (line 212) | pub fn is_stdout(&self) -> bool { method is_stderr (line 217) | pub fn is_stderr(&self) -> bool { method is_file (line 222) | pub fn is_file(&self) -> bool { method new (line 289) | pub fn new(download: bool, output: Option<&Path>, is_stdout_tty: bool)... method print (line 304) | pub fn print(&mut self, s: &str) -> io::Result<()> { method guess_pretty (line 308) | pub fn guess_pretty(&self) -> Pretty { type Inner (line 41) | enum Inner { method write (line 105) | fn write(&mut self, buf: &[u8]) -> std::io::Result { method write_all (line 113) | fn write_all(&mut self, buf: &[u8]) -> std::io::Result<()> { method flush (line 121) | fn flush(&mut self) -> std::io::Result<()> { method write (line 131) | fn write(&mut self, buf: &[u8]) -> std::io::Result { method write_all (line 135) | fn write_all(&mut self, buf: &[u8]) -> std::io::Result<()> { method flush (line 141) | fn flush(&mut self) -> std::io::Result<()> { method supports_color (line 147) | fn supports_color(&self) -> bool { method set_color (line 151) | fn set_color(&mut self, spec: &termcolor::ColorSpec) -> std::io::Result<... method reset (line 155) | fn reset(&mut self) -> std::io::Result<()> { type Buffer (line 169) | pub enum Buffer { method stdout (line 48) | pub fn stdout() -> Self { method stderr (line 56) | pub fn stderr() -> Self { method redirect (line 64) | pub fn redirect() -> Self { method file (line 72) | pub fn file(file: std::fs::File) -> Self { method is_terminal (line 80) | pub fn is_terminal(&self) -> bool { method is_redirect (line 84) | pub fn is_redirect(&self) -> bool { method is_stdout (line 89) | pub fn is_stdout(&self) -> bool { method is_stderr (line 94) | pub fn is_stderr(&self) -> bool { method is_file (line 99) | pub fn is_file(&self) -> bool { method stdout (line 179) | pub fn stdout() -> Self { method stderr (line 187) | pub fn stderr() -> Self { method redirect (line 195) | pub fn redirect() -> Self { method file (line 199) | pub fn file(file: std::fs::File) -> Self { method is_terminal (line 203) | pub fn is_terminal(&self) -> bool { method is_redirect (line 207) | pub fn is_redirect(&self) -> bool { method is_stdout (line 212) | pub fn is_stdout(&self) -> bool { method is_stderr (line 217) | pub fn is_stderr(&self) -> bool { method is_file (line 222) | pub fn is_file(&self) -> bool { method new (line 289) | pub fn new(download: bool, output: Option<&Path>, is_stdout_tty: bool)... method print (line 304) | pub fn print(&mut self, s: &str) -> io::Result<()> { method guess_pretty (line 308) | pub fn guess_pretty(&self) -> Pretty { method write (line 228) | fn write(&mut self, buf: &[u8]) -> std::io::Result { method write_all (line 236) | fn write_all(&mut self, buf: &[u8]) -> std::io::Result<()> { method flush (line 244) | fn flush(&mut self) -> std::io::Result<()> { method supports_color (line 254) | fn supports_color(&self) -> bool { method set_color (line 262) | fn set_color(&mut self, spec: &termcolor::ColorSpec) -> std::io::Result<... method reset (line 270) | fn reset(&mut self) -> std::io::Result<()> { method is_synchronous (line 278) | fn is_synchronous(&self) -> bool { FILE: src/cli.rs constant STYLES (line 27) | const STYLES: Styles = Styles::styled() type Cli (line 56) | pub struct Cli { method parse (line 502) | pub fn parse() -> Self { method parse_from (line 515) | pub fn parse_from(iter: I) -> Self method try_parse_from (line 526) | pub fn try_parse_from(iter: I) -> clap::error::Result method process_relations (line 605) | fn process_relations(&mut self, matches: &clap::ArgMatches) -> clap::e... method into_app (line 656) | pub fn into_app() -> clap::Command { method logger_config (line 690) | pub fn logger_config(&self) -> env_logger::Builder { type Config (line 737) | struct Config { function default_cli_args (line 741) | fn default_cli_args() -> Option> { function parse_method (line 770) | fn parse_method(method: &str) -> Option { function construct_url (line 781) | fn construct_url( type AuthType (line 805) | pub enum AuthType { type MessageSignature (line 813) | pub struct MessageSignature { method has_key_pair (line 865) | pub fn has_key_pair(&self) -> bool { method key_pair (line 869) | pub fn key_pair(&self) -> Option<(&str, &str)> { method algorithm (line 873) | pub fn algorithm(&self) -> Option { method has_components (line 877) | pub fn has_components(&self) -> bool { method flattened_components (line 884) | pub fn flattened_components(&self) -> Vec { type MessageSignatureComponents (line 893) | pub struct MessageSignatureComponents(pub Vec); type Err (line 896) | type Err = std::convert::Infallible; method from_str (line 897) | fn from_str(s: &str) -> Result { type MessageSignatureAlgorithm (line 915) | pub enum MessageSignatureAlgorithm { function from (line 932) | fn from(value: MessageSignatureAlgorithm) -> Self { type TlsVersion (line 945) | pub enum TlsVersion { function from (line 960) | fn from(version: TlsVersion) -> Self { type Pretty (line 972) | pub enum Pretty { method color (line 984) | pub fn color(self) -> bool { method format (line 988) | pub fn format(self) -> bool { type FormatOptions (line 994) | pub struct FormatOptions { method merge (line 1003) | pub fn merge(mut self, other: &Self) -> Self { type Err (line 1014) | type Err = anyhow::Error; method from_str (line 1015) | fn from_str(options: &str) -> anyhow::Result { type Theme (line 1054) | pub enum Theme { method as_str (line 1063) | pub fn as_str(&self) -> &'static str { method as_syntect_theme (line 1072) | pub(crate) fn as_syntect_theme(&self) -> &'static syntect::highlightin... type Print (line 1078) | pub struct Print { method new (line 1087) | pub fn new( type Err (line 1157) | type Err = anyhow::Error; method from_str (line 1158) | fn from_str(s: &str) -> anyhow::Result { type Timeout (line 1188) | pub struct Timeout(Duration); method as_duration (line 1191) | pub fn as_duration(&self) -> Option { type Err (line 1197) | type Err = anyhow::Error; method from_str (line 1199) | fn from_str(sec: &str) -> anyhow::Result { type Proxy (line 1216) | pub enum Proxy { type Err (line 1223) | type Err = anyhow::Error; method from_str (line 1225) | fn from_str(s: &str) -> anyhow::Result { type Resolve (line 1253) | pub struct Resolve { type Err (line 1259) | type Err = anyhow::Error; method from_str (line 1261) | fn from_str(s: &str) -> anyhow::Result { type Verify (line 1290) | pub enum Verify { type Parser (line 1297) | type Parser = VerifyParser; method value_parser (line 1298) | fn value_parser() -> Self::Parser { method fmt (line 1323) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { type VerifyParser (line 1304) | pub struct VerifyParser; type Value (line 1306) | type Value = Verify; method parse_ref (line 1308) | fn parse_ref( type BodyType (line 1333) | pub enum BodyType { type HttpVersion (line 1341) | pub enum HttpVersion { type Generate (line 1355) | pub enum Generate { function parse_encoding (line 1379) | fn parse_encoding(encoding: &str) -> anyhow::Result<&'static Encoding> { function safe_exit (line 1420) | fn safe_exit() -> ! { function long_version (line 1426) | fn long_version() -> &'static str { function parse (line 1436) | fn parse(args: I) -> clap::error::Result function implicit_method (line 1449) | fn implicit_method() { function explicit_method (line 1457) | fn explicit_method() { function method_edge_cases (line 1465) | fn method_edge_cases() { function missing_url (line 1479) | fn missing_url() { function space_in_url (line 1484) | fn space_in_url() { function url_with_leading_double_slash_colon (line 1492) | fn url_with_leading_double_slash_colon() { function url_with_leading_colon (line 1498) | fn url_with_leading_colon() { function url_with_scheme (line 1513) | fn url_with_scheme() { function url_without_scheme (line 1519) | fn url_without_scheme() { function request_items (line 1525) | fn request_items() { function request_items_implicit_method (line 1540) | fn request_items_implicit_method() { function request_type_overrides (line 1555) | fn request_type_overrides() { function superfluous_arg (line 1576) | fn superfluous_arg() { function superfluous_arg_implicit_method (line 1581) | fn superfluous_arg_implicit_method() { function multiple_methods (line 1586) | fn multiple_methods() { function proxy_invalid_protocol (line 1591) | fn proxy_invalid_protocol() { function proxy_invalid_proxy_url (line 1602) | fn proxy_invalid_proxy_url() { function proxy_http (line 1608) | fn proxy_http() { function proxy_https (line 1620) | fn proxy_https() { function proxy_all (line 1632) | fn proxy_all() { function executable_name (line 1644) | fn executable_name() { function executable_name_extension (line 1650) | fn executable_name_extension() { function negated_flags (line 1656) | fn negated_flags() { function negating_check_status (line 1755) | fn negating_check_status() { function negating_stream (line 1773) | fn negating_stream() { function parse_encoding_label (line 1791) | fn parse_encoding_label() { function parse_format_options (line 1817) | fn parse_format_options() { function merge_format_options (line 1852) | fn merge_format_options() { function parse_repeated_message_signature_components (line 1869) | fn parse_repeated_message_signature_components() { function parse_message_signature_algorithm (line 1886) | fn parse_message_signature_algorithm() { function parse_resolve (line 1907) | fn parse_resolve() { function generate (line 1929) | fn generate() { function generate_with_url (line 1936) | fn generate_with_url() { FILE: src/content_disposition.rs function parse_filename_from_content_disposition (line 5) | pub fn parse_filename_from_content_disposition(content_disposition: &str... function parse_regular_filename (line 32) | fn parse_regular_filename(filename: &str) -> Option { function parse_encoded_filename (line 58) | fn parse_encoded_filename(content: &str) -> Option { function test_simple_filename (line 107) | fn test_simple_filename() { function test_filename_without_quotes (line 116) | fn test_filename_without_quotes() { function test_encoded_filename (line 125) | fn test_encoded_filename() { function test_both_filenames (line 135) | fn test_both_filenames() { function test_decode_with_windows_1252 (line 145) | fn test_decode_with_windows_1252() { function test_both_filenames_with_bad_format (line 154) | fn test_both_filenames_with_bad_format() { function test_no_filename (line 164) | fn test_no_filename() { function test_iso_8859_1 (line 170) | fn test_iso_8859_1() { function test_bad_encoding_fallback_to_utf8 (line 179) | fn test_bad_encoding_fallback_to_utf8() { FILE: src/decoder.rs type CompressionType (line 12) | pub enum CompressionType { type Err (line 20) | type Err = anyhow::Error; method from_str (line 21) | fn from_str(value: &str) -> anyhow::Result { function get_compression_type (line 37) | pub fn get_compression_type(headers: &HeaderMap) -> Option { type Status (line 88) | struct Status { method read (line 95) | fn read(&mut self, buf: &mut [u8]) -> io::Result { type InnerReader (line 122) | struct InnerReader { method read (line 128) | fn read(&mut self, buf: &mut [u8]) -> io::Result { type DecodeError (line 155) | struct DecodeError { method fmt (line 161) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { method source (line 167) | fn source(&self) -> Option<&(dyn std::error::Error + 'static)> { function decompress (line 172) | pub fn decompress( type LazyZstdDecoder (line 213) | enum LazyZstdDecoder { method read (line 219) | fn read(&mut self, buf: &mut [u8]) -> io::Result { function decode_errors_are_prepended_with_custom_message (line 245) | fn decode_errors_are_prepended_with_custom_message() { function underlying_read_errors_are_not_modified (line 262) | fn underlying_read_errors_are_not_modified() { function interrupts_are_handled_gracefully (line 282) | fn interrupts_are_handled_gracefully() { function empty_inputs_do_not_cause_errors (line 319) | fn empty_inputs_do_not_cause_errors() { function read_errors_keep_their_context (line 342) | fn read_errors_keep_their_context() { function true_decode_errors_are_preserved (line 376) | fn true_decode_errors_are_preserved() { FILE: src/download.rs function get_content_length (line 19) | fn get_content_length(headers: &HeaderMap) -> Option { function get_file_name (line 28) | fn get_file_name(response: &Response, orig_url: &reqwest::Url) -> String { function get_file_size (line 75) | pub fn get_file_size(path: Option<&Path>) -> Option { function open_new_file (line 80) | fn open_new_file(file_name: PathBuf) -> io::Result<(PathBuf, File)> { function total_for_content_range (line 110) | fn total_for_content_range(header: &str, expected_start: u64) -> Result<... constant BAR_TEMPLATE (line 159) | const BAR_TEMPLATE: &str = constant UNCOLORED_BAR_TEMPLATE (line 161) | const UNCOLORED_BAR_TEMPLATE: &str = constant SPINNER_TEMPLATE (line 163) | const SPINNER_TEMPLATE: &str = "{spinner:.green} {bytes} {bytes_per_sec}... constant UNCOLORED_SPINNER_TEMPLATE (line 164) | const UNCOLORED_SPINNER_TEMPLATE: &str = "{spinner} {bytes} {bytes_per_s... function download_file (line 166) | pub fn download_file( function content_range_parsing (line 292) | fn content_range_parsing() { FILE: src/error_reporting.rs function additional_messages (line 3) | pub(crate) fn additional_messages(err: &anyhow::Error, native_tls: bool)... function format_rustls_error (line 23) | fn format_rustls_error(err: &anyhow::Error) -> Option { function exit_code (line 63) | pub(crate) fn exit_code(err: &anyhow::Error) -> ExitCode { FILE: src/formatting/headers.rs type HeaderFormatter (line 39) | pub(crate) struct HeaderFormatter<'a, W: WriteColor> { function new (line 47) | pub(crate) fn new( function print (line 61) | fn print(&mut self, text: &str) -> Result<()> { function print_plain (line 65) | fn print_plain(&mut self, text: &str) -> Result<()> { function print_request_headers (line 70) | pub(crate) fn print_request_headers( function print_response_headers (line 101) | pub(crate) fn print_response_headers( function print_http_version (line 130) | fn print_http_version(&mut self, version: Version) -> Result<()> { function print_headers (line 144) | fn print_headers(&mut self, headers: &HeaderMap, version: Version) -> Re... function titlecase_header (line 216) | fn titlecase_header<'b>(name: &HeaderName, buffer: &'b mut String) -> &'... function sanitize_header_value (line 240) | fn sanitize_header_value(value: &str) -> String { function test_header_casing (line 252) | fn test_header_casing() { FILE: src/formatting/mod.rs function get_json_formatter (line 20) | pub fn get_json_formatter(indent_level: usize) -> jsonxf::Formatter { function format_xml (line 30) | pub fn format_xml(indent: usize, text: &str) -> io::Result> { function serde_json_format (line 48) | pub fn serde_json_format(indent_level: usize, text: &str, write: impl Wr... type Highlighter (line 68) | pub struct Highlighter<'a> { function new (line 76) | pub fn new(syntax: &'static str, theme: Theme, out: &'a mut Buffer) -> S... function highlight (line 94) | pub fn highlight(&mut self, text: &str) -> io::Result<()> { function highlight_bytes (line 108) | pub fn highlight_bytes(&mut self, line: &[u8]) -> io::Result<()> { function flush (line 112) | pub fn flush(&mut self) -> io::Result<()> { method drop (line 118) | fn drop(&mut self) { function convert_style (line 124) | fn convert_style(style: syntect::highlighting::Style) -> termcolor::Colo... function convert_color (line 135) | fn convert_color(color: syntect::highlighting::Color) -> Option bool { function create_hyperlink (line 175) | pub(crate) fn create_hyperlink(text: &str, url: &str) -> String { FILE: src/formatting/palette.rs function extract_color (line 49) | pub(crate) fn extract_color( function extract_default (line 61) | pub(crate) fn extract_default(theme: &Theme) -> ColorSpec { FILE: src/generation.rs constant MAN_TEMPLATE (line 9) | const MAN_TEMPLATE: &str = include_str!("../doc/man-template.roff"); function generate (line 11) | pub fn generate(bin_name: &str, generate: Generate) { function generate_manpages (line 55) | fn generate_manpages(app: &mut clap::Command) { FILE: src/main.rs function get_user_agent (line 59) | fn get_user_agent() -> &'static str { function main (line 68) | fn main() -> ExitCode { function run (line 99) | fn run(args: Cli) -> Result { function setup_backtraces (line 795) | fn setup_backtraces() { FILE: src/message_signature.rs function sign_request (line 14) | pub fn sign_request( function resolve_components (line 76) | fn resolve_components(request: &Request, components: Option<&[String]>) ... function ensure_content_digest (line 126) | fn ensure_content_digest(request: &mut Request, components: &[String]) -... function build_signature_params (line 145) | fn build_signature_params(components: &[String]) -> Result St... function normalize_component_id (line 206) | fn normalize_component_id(component: &str) -> String { function buffer_request_body (line 217) | fn buffer_request_body(request: &mut Request) -> Result> { function parse_key_input (line 230) | fn parse_key_input(key_material: &str) -> Result> { function build_signing_key (line 243) | fn build_signing_key( function build_hmac_signing_key (line 284) | fn build_hmac_signing_key( function build_signing_key_with_algorithm (line 297) | fn build_signing_key_with_algorithm( function parse_pem_secret_key (line 334) | fn parse_pem_secret_key(pem: &str, algorithms: &[AlgorithmName]) -> Opti... type MessageSigningKey (line 343) | enum MessageSigningKey { method sign (line 349) | fn sign(&self, data: &[u8]) -> HttpSigResult> { method key_id (line 356) | fn key_id(&self) -> String { method alg (line 363) | fn alg(&self) -> AlgorithmName { function test_content_digest_generation (line 377) | fn test_content_digest_generation() { function test_sign_request_with_query_param (line 400) | fn test_sign_request_with_query_param() { function test_sign_request_hmac (line 422) | fn test_sign_request_hmac() { function test_bs_parameter_unsupported (line 452) | fn test_bs_parameter_unsupported() { function test_sf_parameter_success (line 473) | fn test_sf_parameter_success() { function test_key_parameter_success (line 487) | fn test_key_parameter_success() { function test_tr_parameter_unsupported (line 501) | fn test_tr_parameter_unsupported() { function test_name_parameter_error_on_field (line 518) | fn test_name_parameter_error_on_field() { function test_resolve_components_defaults (line 536) | fn test_resolve_components_defaults() { function test_resolve_components_query_params_deduplicates_names (line 544) | fn test_resolve_components_query_params_deduplicates_names() { function test_duplicate_component_rejected (line 559) | fn test_duplicate_component_rejected() { function test_equivalent_component_with_different_param_order_rejected (line 567) | fn test_equivalent_component_with_different_param_order_rejected() { function test_normalize_component_id (line 585) | fn test_normalize_component_id() { function test_invalid_pem_key_does_not_fall_back_to_hmac (line 603) | fn test_invalid_pem_key_does_not_fall_back_to_hmac() { function test_rsa_pem_requires_explicit_algorithm (line 615) | fn test_rsa_pem_requires_explicit_algorithm() { function test_rsa_pem_with_explicit_algorithm_succeeds (line 628) | fn test_rsa_pem_with_explicit_algorithm_succeeds() { FILE: src/middleware.rs type ResponseMeta (line 7) | pub struct ResponseMeta { type ResponseExt (line 12) | pub trait ResponseExt { method meta (line 13) | fn meta(&self) -> &ResponseMeta; method meta_mut (line 14) | fn meta_mut(&mut self) -> &mut ResponseMeta; method meta (line 18) | fn meta(&self) -> &ResponseMeta { method meta_mut (line 22) | fn meta_mut(&mut self) -> &mut ResponseMeta { type Printer (line 27) | type Printer<'a, 'b> = &'a mut (dyn FnMut(&mut Response, &mut Request) -... type Context (line 29) | pub struct Context<'a, 'b> { function new (line 36) | fn new( function execute (line 48) | fn execute(&mut self, request: Request) -> Result { type Middleware (line 68) | pub trait Middleware { method handle (line 69) | fn handle(&mut self, ctx: Context, request: Request) -> Result; method next (line 71) | fn next(&self, ctx: &mut Context, request: Request) -> Result { method print (line 75) | fn print( type ClientWithMiddleware (line 89) | pub struct ClientWithMiddleware<'a, T> function new (line 102) | pub fn new(client: &'a Client) -> Self { function with_printer (line 110) | pub fn with_printer(mut self, printer: T) -> Self { function with (line 115) | pub fn with(mut self, middleware: impl Middleware + 'a) -> Self { function execute (line 120) | pub fn execute(&mut self, request: Request) -> Result { FILE: src/nested_json.rs type Token (line 28) | enum Token { method literal (line 36) | fn literal(json_path: &str, start: Option, end: Option) ... method is_empty (line 58) | fn is_empty(&self) -> bool { function tokenize (line 66) | fn tokenize(json_path: &str) -> impl IntoIterator { type PathAction (line 94) | pub enum PathAction { function parse_path (line 100) | pub fn parse_path(json_path: &str) -> Result> { function insert (line 160) | pub fn insert( function arr_insert (line 221) | fn arr_insert(arr: &mut Vec, index: usize, value: Value) { function remove_from_arr (line 229) | fn remove_from_arr(arr: &mut [Value], index: usize) -> Option { function syntax_error (line 237) | fn syntax_error(expected: &'static str, pos: usize, json_path: &str) -> ... function highlight_error (line 245) | fn highlight_error(text: &str, start: usize, mut end: usize) -> String { type TypeError (line 262) | pub struct TypeError { method new (line 269) | fn new(root: Value, path_component: PathAction) -> Self { method with_json_path (line 277) | pub fn with_json_path(mut self, json_path: String) -> TypeError { method fmt (line 286) | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { function deeply_nested_object (line 327) | fn deeply_nested_object() { function deeply_nested_array (line 333) | fn deeply_nested_array() { function can_override_value (line 339) | fn can_override_value() { function type_clashes (line 359) | fn type_clashes() { function json_path_parser (line 390) | fn json_path_parser() { FILE: src/netrc.rs type Entry (line 40) | pub struct Entry { function find_entry (line 45) | pub fn find_entry(host: url::Host<&str>) -> Option { function open_netrc (line 60) | fn open_netrc() -> Option { type EntryState (line 77) | enum EntryState { type Parser (line 86) | struct Parser<'a, R> { function new (line 109) | fn new(reader: R, host: url::Host<&'a str>) -> Self { function parse (line 125) | fn parse(mut self) -> io::Result> { function finish_entry (line 215) | fn finish_entry(&mut self) { function arg (line 234) | fn arg(&mut self) -> io::Result> { function advance_line (line 244) | fn advance_line(&mut self) -> io::Result { function word (line 251) | fn word(&mut self) -> io::Result> { function cases (line 277) | fn cases() { function found (line 452) | fn found( function notfound (line 465) | fn notfound(netrc: &str, host: url::Host<&str>) { FILE: src/printer.rs constant BINARY_SUPPRESSOR (line 26) | const BINARY_SUPPRESSOR: &str = concat!( type BinaryGuard (line 41) | struct BinaryGuard<'a, T: Read> { type FoundBinaryData (line 48) | struct FoundBinaryData; method fmt (line 51) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { function new (line 59) | fn new(reader: &'a mut T, checked: bool) -> Self { function read_lines (line 83) | fn read_lines(&mut self) -> io::Result> { type Printer (line 119) | pub struct Printer { method new (line 132) | pub fn new( method get_highlighter (line 152) | fn get_highlighter(&mut self, syntax: &'static str) -> Highlighter<'_> { method get_header_formatter (line 156) | fn get_header_formatter(&mut self) -> HeaderFormatter<'_, Buffer> { method print_colorized_text (line 166) | fn print_colorized_text(&mut self, text: &str, syntax: &'static str) -... method print_syntax_text (line 170) | fn print_syntax_text(&mut self, text: &str, syntax: &'static str) -> i... method print_json_text (line 178) | fn print_json_text(&mut self, text: &str, check_valid: bool) -> io::Re... method print_xml_text (line 207) | fn print_xml_text(&mut self, body: &str) -> io::Result<()> { method print_body_text (line 231) | fn print_body_text(&mut self, content_type: ContentType, body: &str) -... method print_stream (line 248) | fn print_stream(&mut self, reader: &mut impl Read) -> io::Result<()> { method print_colorized_stream (line 260) | fn print_colorized_stream( method print_syntax_stream (line 276) | fn print_syntax_stream( method print_json_stream (line 288) | fn print_json_stream(&mut self, stream: &mut impl Read) -> io::Result<... method print_body_stream (line 331) | fn print_body_stream( method print_separator (line 347) | pub fn print_separator(&mut self) -> io::Result<()> { method print_request_headers (line 353) | pub fn print_request_headers(&mut self, request: &Request, cookie_j... method print_response_headers (line 407) | pub fn print_response_headers(&mut self, response: &Response) -> io::R... method print_request_body (line 420) | pub fn print_request_body(&mut self, request: &mut Request) -> anyhow:... method print_response_body (line 437) | pub fn print_response_body( method print_response_meta (line 517) | pub fn print_response_meta(&mut self, response: &Response) -> anyhow::... type ContentType (line 536) | enum ContentType { method is_text (line 550) | fn is_text(&self) -> bool { method is_stream (line 562) | fn is_stream(&self) -> bool { method from (line 579) | fn from(content_type: &str) -> Self { function get_content_type (line 608) | fn get_content_type(headers: &HeaderMap) -> ContentType { function valid_json (line 615) | fn valid_json(text: &str) -> bool { function decode_blob (line 624) | fn decode_blob<'a>( function decode_blob_unconditional (line 649) | fn decode_blob_unconditional<'a>( function decode_stream (line 663) | fn decode_stream<'a>( function detect_encoding (line 698) | fn detect_encoding(mut bytes: &[u8], mut complete: bool, url: &Url) -> &... function get_tld (line 732) | fn get_tld(domain: &str) -> Option<&str> { function get_charset (line 742) | fn get_charset(response: &Response) -> Option<&'static Encoding> { function run_cmd (line 756) | fn run_cmd(args: impl IntoIterator, is_stdout_tty: bool) ... function temp_path (line 764) | fn temp_path() -> String { function terminal_mode (line 772) | fn terminal_mode() { function redirect_mode (line 779) | fn redirect_mode() { function terminal_mode_with_output_file (line 786) | fn terminal_mode_with_output_file() { function redirect_mode_with_output_file (line 794) | fn redirect_mode_with_output_file() { function terminal_mode_download (line 805) | fn terminal_mode_download() { function redirect_mode_download (line 812) | fn redirect_mode_download() { function terminal_mode_download_with_output_file (line 819) | fn terminal_mode_download_with_output_file() { function redirect_mode_download_with_output_file (line 830) | fn redirect_mode_download_with_output_file() { FILE: src/redacted.rs type SecretString (line 11) | pub struct SecretString(String); type Err (line 14) | type Err = std::convert::Infallible; method from_str (line 16) | fn from_str(s: &str) -> Result { type Target (line 22) | type Target = String; method deref (line 24) | fn deref(&self) -> &String { method fmt (line 30) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { method from (line 41) | fn from(string: SecretString) -> OsString { FILE: src/redirect.rs type RedirectFollower (line 14) | pub struct RedirectFollower { method new (line 21) | pub fn new( method handle (line 34) | fn handle(&mut self, mut ctx: Context, mut first_request: Request) -> Re... type TooManyRedirects (line 79) | pub(crate) struct TooManyRedirects { method fmt (line 84) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { function get_next_request (line 96) | fn get_next_request(mut request: Request, response: &Response) -> Option... function is_cross_domain_redirect (line 144) | fn is_cross_domain_redirect(next: &Url, previous: &Url) -> bool { function remove_sensitive_headers (line 150) | fn remove_sensitive_headers(headers: &mut HeaderMap) { function remove_content_headers (line 160) | fn remove_content_headers(headers: &mut HeaderMap) { function remove_signature_headers (line 169) | fn remove_signature_headers(headers: &mut HeaderMap) { function remove_content_headers_removes_content_digest (line 181) | fn remove_content_headers_removes_content_digest() { FILE: src/request_items.rs constant FORM_CONTENT_TYPE (line 18) | pub const FORM_CONTENT_TYPE: &str = "application/x-www-form-urlencoded"; constant JSON_CONTENT_TYPE (line 19) | pub const JSON_CONTENT_TYPE: &str = "application/json"; constant JSON_ACCEPT (line 20) | pub const JSON_ACCEPT: &str = "application/json, */*;q=0.5"; type RequestItem (line 23) | pub enum RequestItem { type Err (line 50) | type Err = clap::Error; method from_str (line 51) | fn from_str(request_item: &str) -> clap::error::Result { type PartWithParams (line 139) | struct PartWithParams { function parse_part_params (line 162) | fn parse_part_params(mut text: &str) -> PartWithParams { function rsplit_once_any (line 191) | fn rsplit_once_any<'a>( type RequestItems (line 209) | pub struct RequestItems { method has_form_files (line 253) | pub fn has_form_files(&self) -> bool { method headers (line 259) | pub fn headers(&self) -> Result<(HeaderMap, HashSet Result)>> { method body_as_json (line 308) | fn body_as_json(self) -> Result { method body_as_form (line 338) | fn body_as_form(self) -> Result { method body_as_multipart (line 361) | fn body_as_multipart(self) -> Result { method body_from_file (line 400) | fn body_from_file(self) -> Result { method body (line 452) | pub fn body(self) -> Result { method is_multipart (line 465) | pub fn is_multipart(&self) -> bool { method pick_method (line 478) | pub fn pick_method(&self) -> Method { method is_body_empty (line 486) | pub fn is_body_empty(&self) -> bool { type Body (line 214) | pub enum Body { method is_empty (line 227) | pub fn is_empty(&self) -> bool { method pick_method (line 243) | pub fn pick_method(&self) -> Method { function file_to_part (line 508) | pub fn file_to_part(path: impl AsRef) -> io::Result Self { type Auth (line 41) | struct Auth { type LegacyCookie (line 49) | struct LegacyCookie { type Cookie (line 60) | struct Cookie { type Cookies (line 75) | enum Cookies { method default (line 83) | fn default() -> Self { type Header (line 89) | struct Header { type Headers (line 96) | enum Headers { method default (line 104) | fn default() -> Self { type Content (line 110) | struct Content { method migrate (line 119) | fn migrate(mut self) -> Self { type Session (line 159) | pub struct Session { method load_session (line 167) | pub fn load_session(url: Url, mut name_or_path: OsString, read_only: b... method headers (line 196) | pub fn headers(&self) -> Result { method save_headers (line 206) | pub fn save_headers(&mut self, headers: &HeaderMap) -> Result<()> { method auth (line 229) | pub fn auth(&self) -> Result> { method save_auth (line 255) | pub fn save_auth(&mut self, auth: &auth::Auth) { method cookies (line 279) | pub fn cookies(&self) -> impl Iterator(&mut self, cookies: I) method persist (line 346) | pub fn persist(&self) -> Result<()> { function xh_version (line 362) | fn xh_version() -> String { function is_path (line 370) | fn is_path(value: &OsString) -> bool { function path_from_url (line 374) | fn path_from_url(url: &Url) -> Result { function load_session_from_str (line 391) | fn load_session_from_str(s: &str) -> Result { function can_parse_old_httpie_session (line 401) | fn can_parse_old_httpie_session() -> Result<()> { function can_parse_old_xh_session (line 432) | fn can_parse_old_xh_session() -> Result<()> { function can_parse_session_with_unknown_meta (line 467) | fn can_parse_session_with_unknown_meta() { function can_parse_session_with_new_style_headers (line 482) | fn can_parse_session_with_new_style_headers() -> Result<()> { function can_parse_session_with_new_style_cookies (line 514) | fn can_parse_session_with_new_style_cookies() -> Result<()> { FILE: src/to_curl.rs function print_curl_translation (line 12) | pub fn print_curl_translation(args: Cli) -> Result<()> { type Command (line 25) | pub struct Command { method new (line 33) | fn new(long: bool) -> Command { method opt (line 42) | fn opt(&mut self, short: &'static str, long: &'static str) { method arg (line 50) | fn arg(&mut self, arg: impl Into) { method header (line 54) | fn header(&mut self, name: &str, value: &str) { method env (line 59) | fn env(&mut self, var: &'static str, value: impl Into) { method warn (line 63) | fn warn(&mut self, message: impl Into) { method fmt (line 69) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { function translate (line 83) | pub fn translate(args: Cli) -> Result { function examples (line 479) | fn examples() { FILE: src/utils.rs function unescape (line 12) | pub fn unescape(text: &str, special_chars: &'static str) -> String { function clone_request (line 39) | pub fn clone_request(request: &mut Request) -> Result { function test_mode (line 49) | pub fn test_mode() -> bool { function test_pretend_term (line 58) | pub fn test_pretend_term() -> bool { function test_default_color (line 62) | pub fn test_default_color() -> bool { function random_string (line 67) | pub fn random_string() -> String { function config_dir (line 77) | pub fn config_dir() -> Option { function get_home_dir (line 102) | pub fn get_home_dir() -> Option { function expand_tilde (line 116) | pub fn expand_tilde(path: impl AsRef) -> PathBuf { function url_with_query (line 127) | pub fn url_with_query(mut url: Url, query: &[(&str, Cow)]) -> Url { constant BUFFER_SIZE (line 152) | pub const BUFFER_SIZE: usize = 128 * 1024; function copy_largebuf (line 162) | pub fn copy_largebuf( type HeaderValueExt (line 183) | pub(crate) trait HeaderValueExt { method to_utf8_str (line 184) | fn to_utf8_str(&self) -> Result<&str, Utf8Error>; method to_ascii_or_latin1 (line 186) | fn to_ascii_or_latin1(&self) -> Result<&str, BadHeaderValue<'_>>; method to_utf8_str (line 190) | fn to_utf8_str(&self) -> Result<&str, Utf8Error> { method to_ascii_or_latin1 (line 198) | fn to_ascii_or_latin1(&self) -> Result<&str, BadHeaderValue<'_>> { type BadHeaderValue (line 204) | pub(crate) struct BadHeaderValue<'a> { function latin1 (line 217) | pub(crate) fn latin1(self) -> String { function utf8 (line 225) | pub(crate) fn utf8(self) -> Option<&'a str> { function reason_phrase (line 230) | pub(crate) fn reason_phrase(response: &Response) -> Cow<'_, str> { function test_latin1 (line 257) | fn test_latin1() { FILE: tests/cases/auth_message_signature.rs constant KEY_MATERIAL (line 6) | const KEY_MATERIAL: &str = "secret-key-material"; constant RSA_KEY_FIXTURE (line 7) | const RSA_KEY_FIXTURE: &str = "tests/fixtures/keys/rsa_private_key_pkcs8... function fixture_path (line 9) | fn fixture_path(relative_path: &str) -> String { function reconstruct_absolute_uri (line 13) | fn reconstruct_absolute_uri(req: &mut hyper::Request) { function message_signature_verification_on_server (line 23) | fn message_signature_verification_on_server() { function message_signature_redirect_follow_re_signs_request (line 67) | fn message_signature_redirect_follow_re_signs_request() { function message_signature_auth_defaults (line 116) | fn message_signature_auth_defaults() { function message_signature_auth_with_resolve_override (line 170) | fn message_signature_auth_with_resolve_override() { function message_signature_auth_ipv6_authority (line 216) | fn message_signature_auth_ipv6_authority() { function message_signature_auth_with_custom_components_and_digest (line 274) | fn message_signature_auth_with_custom_components_and_digest() { function message_signature_auth_with_multiple_set_cookie (line 331) | fn message_signature_auth_with_multiple_set_cookie() { function message_signature_auth_sf_parameter (line 386) | fn message_signature_auth_sf_parameter() { function message_signature_auth_key_parameter (line 430) | fn message_signature_auth_key_parameter() { function message_signature_auth_unsupported_parameters (line 475) | fn message_signature_auth_unsupported_parameters() { function message_signature_components_require_key_pair (line 505) | fn message_signature_components_require_key_pair() { function message_signature_with_basic_auth (line 519) | fn message_signature_with_basic_auth() { function message_signature_auth_normalization_assertion (line 574) | fn message_signature_auth_normalization_assertion() { function message_signature_auth_ed25519_pem (line 602) | fn message_signature_auth_ed25519_pem() { function message_signature_auth_rsa_pem (line 648) | fn message_signature_auth_rsa_pem() { function message_signature_auth_rsa_pem_requires_explicit_algorithm (line 694) | fn message_signature_auth_rsa_pem_requires_explicit_algorithm() { FILE: tests/cases/compress_request_body.rs function zlib_decode (line 9) | fn zlib_decode(bytes: Vec) -> std::io::Result { function server (line 16) | fn server() -> server::Server { function compress_request_body_json (line 49) | fn compress_request_body_json() { function compress_request_body_form (line 72) | fn compress_request_body_form() { function skip_compression_when_compression_ratio_is_negative (line 96) | fn skip_compression_when_compression_ratio_is_negative() { function test_compress_force_with_negative_ratio (line 113) | fn test_compress_force_with_negative_ratio() { function dont_compress_request_body_if_content_encoding_have_value (line 130) | fn dont_compress_request_body_if_content_encoding_have_value() { function compress_body_from_file (line 168) | fn compress_body_from_file() { function compress_body_from_file_unless_compress_rate_less_1 (line 198) | fn compress_body_from_file_unless_compress_rate_less_1() { function test_cannot_combine_compress_with_multipart (line 225) | fn test_cannot_combine_compress_with_multipart() { FILE: tests/cases/download.rs function download (line 12) | fn download() { function accept_encoding_not_modifiable_in_download_mode (line 32) | fn accept_encoding_not_modifiable_in_download_mode() { function download_generated_filename (line 49) | fn download_generated_filename() { function download_supplied_filename (line 81) | fn download_supplied_filename() { function download_supplied_unicode_filename (line 102) | fn download_supplied_unicode_filename() { function download_support_filename_rfc_5987 (line 123) | fn download_support_filename_rfc_5987() { function download_support_filename_rfc_5987_percent_encoded (line 146) | fn download_support_filename_rfc_5987_percent_encoded() { function download_support_filename_rfc_5987_percent_encoded_with_iso_8859_1 (line 170) | fn download_support_filename_rfc_5987_percent_encoded_with_iso_8859_1() { function download_filename_star_with_high_priority (line 194) | fn download_filename_star_with_high_priority() { function download_supplied_unquoted_filename (line 218) | fn download_supplied_unquoted_filename() { function download_filename_with_directory_traversal (line 239) | fn download_filename_with_directory_traversal() { function download_filename_with_windows_directory_traversal (line 264) | fn download_filename_with_windows_directory_traversal() { function it_can_resume_a_download (line 292) | fn it_can_resume_a_download() { function it_can_resume_a_download_with_one_byte (line 327) | fn it_can_resume_a_download_with_one_byte() { function it_rejects_incorrect_content_range_headers (line 362) | fn it_rejects_incorrect_content_range_headers() { function it_refuses_to_combine_continue_and_range (line 396) | fn it_refuses_to_combine_continue_and_range() { function error_code_416_is_ignored_when_resuming_download (line 433) | fn error_code_416_is_ignored_when_resuming_download() { function error_code_416_is_not_ignored_when_not_resuming_download (line 471) | fn error_code_416_is_not_ignored_when_not_resuming_download() { FILE: tests/cases/logging.rs function logs_are_printed_in_debug_mode (line 7) | fn logs_are_printed_in_debug_mode() { function logs_are_not_printed_outside_debug_mode (line 19) | fn logs_are_not_printed_outside_debug_mode() { function backtrace_is_printed_in_debug_mode (line 30) | fn backtrace_is_printed_in_debug_mode() { function backtrace_is_not_printed_outside_debug_mode (line 46) | fn backtrace_is_not_printed_outside_debug_mode() { function checked_status_is_printed_with_single_quiet (line 65) | fn checked_status_is_printed_with_single_quiet() { function checked_status_is_not_printed_with_double_quiet (line 82) | fn checked_status_is_not_printed_with_double_quiet() { function warning_for_invalid_redirect (line 99) | fn warning_for_invalid_redirect() { function warning_for_non_utf8_redirect (line 115) | fn warning_for_non_utf8_redirect() { function rustls_emits_logs (line 133) | fn rustls_emits_logs() { FILE: tests/cases/unix_socket.rs function error_on_unsupported_platform (line 8) | fn error_on_unsupported_platform() { function json_post (line 21) | fn json_post() { function redirects_stay_on_same_server (line 55) | fn redirects_stay_on_same_server() { FILE: tests/cases/xml.rs function xml_pretty_printing (line 6) | fn xml_pretty_printing() { function xml_pretty_printing_text_xml_content_type (line 30) | fn xml_pretty_printing_text_xml_content_type() { function xml_format_disabled (line 50) | fn xml_format_disabled() { function xml_custom_indent (line 68) | fn xml_custom_indent() { function xml_invalid_falls_back_gracefully (line 92) | fn xml_invalid_falls_back_gracefully() { function xml_declaration_preserved (line 106) | fn xml_declaration_preserved() { function xml_pretty_none (line 127) | fn xml_pretty_none() { function xml_streaming_skips_formatting (line 141) | fn xml_streaming_skips_formatting() { function xml_mixed_content_preserved (line 155) | fn xml_mixed_content_preserved() { function xml_already_formatted (line 175) | fn xml_already_formatted() { function xml_xhtml_content_type (line 197) | fn xml_xhtml_content_type() { FILE: tests/cli.rs type RequestExt (line 25) | pub trait RequestExt { method query_params (line 26) | fn query_params(&self) -> HashMap; method body (line 27) | fn body(self) -> Pin> + Send>>; method body_as_string (line 28) | fn body_as_string(self) -> Pin + Send>>; method query_params (line 37) | fn query_params(&self) -> HashMap { method body (line 43) | fn body(self) -> Pin> + Send>> { method body_as_string (line 48) | fn body_as_string(self) -> Pin + Send>> { function random_string (line 54) | fn random_string() -> String { function find_runner (line 68) | fn find_runner() -> Option { function get_base_command (line 77) | fn get_base_command() -> Command { function get_command (line 101) | fn get_command() -> Command { function redirecting_command (line 109) | fn redirecting_command() -> Command { function color_command (line 116) | fn color_command() -> Command { constant BINARY_SUPPRESSOR (line 122) | const BINARY_SUPPRESSOR: &str = concat!( function basic_json_post (line 142) | fn basic_json_post() { function full_json_response_utf8_decode (line 170) | fn full_json_response_utf8_decode() { function basic_get (line 209) | fn basic_get() { function basic_head (line 221) | fn basic_head() { function basic_options (line 233) | fn basic_options() { function multiline_value (line 249) | fn multiline_value() { function post_empty_body (line 263) | fn post_empty_body() { function nested_json (line 278) | fn nested_json() { function json_path_with_escaped_characters (line 300) | fn json_path_with_escaped_characters() { function nested_json_type_error (line 320) | fn nested_json_type_error() { function json_path_special_chars_not_escaped_in_form (line 353) | fn json_path_special_chars_not_escaped_in_form() { function header (line 368) | fn header() { function multiple_headers_with_same_key (line 380) | fn multiple_headers_with_same_key() { function query_param (line 394) | fn query_param() { function json_param (line 406) | fn json_param() { function verbose (line 418) | fn verbose() { function decode (line 460) | fn decode() { function streaming_decode (line 475) | fn streaming_decode() { function only_decode_for_terminal (line 490) | fn only_decode_for_terminal() { function do_decode_if_formatted (line 508) | fn do_decode_if_formatted() { function never_decode_if_binary (line 522) | fn never_decode_if_binary() { function binary_detection (line 541) | fn binary_detection() { function streaming_binary_detection (line 555) | fn streaming_binary_detection() { function request_binary_detection (line 569) | fn request_binary_detection() { function timeout (line 584) | fn timeout() { function timeout_no_limit (line 599) | fn timeout_no_limit() { function timeout_invalid (line 612) | fn timeout_invalid() { function check_status (line 645) | fn check_status() { function check_status_warning (line 661) | fn check_status_warning() { function check_status_is_implied (line 677) | fn check_status_is_implied() { function check_status_is_not_implied_in_compat_mode (line 693) | fn check_status_is_not_implied_in_compat_mode() { function user_password_auth (line 709) | fn user_password_auth() { function user_auth (line 722) | fn user_auth() { function bearer_auth (line 735) | fn bearer_auth() { function digest_auth (line 748) | fn digest_auth() { function successful_digest_auth (line 775) | fn successful_digest_auth() { function compress_request_body_online (line 786) | fn compress_request_body_online() { function unsuccessful_digest_auth (line 823) | fn unsuccessful_digest_auth() { function digest_auth_with_redirection (line 833) | fn digest_auth_with_redirection() { function netrc_env_user_password_auth (line 926) | fn netrc_env_user_password_auth() { function netrc_env_no_bearer_auth_unless_specified (line 948) | fn netrc_env_no_bearer_auth_unless_specified() { function netrc_env_auth_type_bearer (line 967) | fn netrc_env_auth_type_bearer() { function netrc_file_user_password_auth (line 987) | fn netrc_file_user_password_auth() { function get_proxy_command (line 1019) | fn get_proxy_command( function proxy_http_proxy (line 1033) | fn proxy_http_proxy() { function proxy_https_proxy (line 1046) | fn proxy_https_proxy() { function proxy_http_all_proxy (line 1062) | fn proxy_http_all_proxy() { function proxy_https_all_proxy (line 1078) | fn proxy_https_all_proxy() { function last_supplied_proxy_wins (line 1094) | fn last_supplied_proxy_wins() { function proxy_multiple_valid_proxies (line 1127) | fn proxy_multiple_valid_proxies() { function verify_default_yes (line 1142) | fn verify_default_yes() { function verify_explicit_yes (line 1161) | fn verify_explicit_yes() { function verify_no (line 1179) | fn verify_no() { function verify_valid_file (line 1190) | fn verify_valid_file() { function verify_valid_file_native_tls (line 1205) | fn verify_valid_file_native_tls() { function cert_without_key (line 1216) | fn cert_without_key() { function formatted_certificate_expired_message (line 1233) | fn formatted_certificate_expired_message() { function override_dns_resolution (line 1242) | fn override_dns_resolution() { function use_ipv4 (line 1271) | fn use_ipv4() { function use_ipv6 (line 1284) | fn use_ipv6() { function cert_with_key (line 1297) | fn cert_with_key() { function cert_with_key_native_tls (line 1311) | fn cert_with_key_native_tls() { function native_tls_flag_disabled (line 1326) | fn native_tls_flag_disabled() { function native_tls_works (line 1336) | fn native_tls_works() { function good_tls_version (line 1345) | fn good_tls_version() { function good_tls_version_nativetls (line 1355) | fn good_tls_version_nativetls() { function bad_tls_version (line 1365) | fn bad_tls_version() { function bad_tls_version_nativetls (line 1375) | fn bad_tls_version_nativetls() { function unsupported_tls_version_nativetls (line 1386) | fn unsupported_tls_version_nativetls() { function unsupported_tls_version_rustls (line 1399) | fn unsupported_tls_version_rustls() { function forced_json (line 1415) | fn forced_json() { function forced_form (line 1429) | fn forced_form() { function forced_multipart (line 1444) | fn forced_multipart() { function formatted_json_output (line 1458) | fn formatted_json_output() { function inferred_json_output (line 1478) | fn inferred_json_output() { function inferred_json_javascript_output (line 1498) | fn inferred_json_javascript_output() { function inferred_nonjson_output (line 1518) | fn inferred_nonjson_output() { function noninferred_json_output (line 1535) | fn noninferred_json_output() { function empty_body_defaults_to_get (line 1552) | fn empty_body_defaults_to_get() { function non_empty_body_defaults_to_post (line 1563) | fn non_empty_body_defaults_to_post() { function empty_raw_body_defaults_to_post (line 1577) | fn empty_raw_body_defaults_to_post() { function body_from_stdin (line 1592) | fn body_from_stdin() { function body_from_raw (line 1606) | fn body_from_raw() { function support_utf8_header_value (line 1619) | fn support_utf8_header_value() { function support_latin1_header_value (line 1644) | fn support_latin1_header_value() { function redirect_support_utf8_location (line 1668) | fn redirect_support_utf8_location() { function mixed_stdin_request_items (line 1719) | fn mixed_stdin_request_items() { function mixed_stdin_raw (line 1731) | fn mixed_stdin_raw() { function mixed_raw_request_items (line 1743) | fn mixed_raw_request_items() { function multipart_stdin (line 1754) | fn multipart_stdin() { function multipart_raw (line 1764) | fn multipart_raw() { function default_json_for_raw_body (line 1773) | fn default_json_for_raw_body() { function multipart_file_upload (line 1786) | fn multipart_file_upload() { function warn_for_filename_tag_on_body (line 1832) | fn warn_for_filename_tag_on_body() { function body_from_file (line 1859) | fn body_from_file() { function body_from_file_with_explicit_mimetype (line 1885) | fn body_from_file_with_explicit_mimetype() { function body_from_file_with_fallback_mimetype (line 1911) | fn body_from_file_with_fallback_mimetype() { function no_double_file_body (line 1937) | fn no_double_file_body() { function print_body_from_file (line 1946) | fn print_body_from_file() { function colored_headers (line 1968) | fn colored_headers() { function colored_body (line 1980) | fn colored_body() { function force_color_pipe (line 1989) | fn force_color_pipe() { function request_json_keys_order_is_preserved (line 2002) | fn request_json_keys_order_is_preserved() { function data_field_from_file (line 2015) | fn data_field_from_file() { function data_field_from_file_in_form_mode (line 2032) | fn data_field_from_file_in_form_mode() { function json_field_from_file (line 2050) | fn json_field_from_file() { function header_from_file (line 2067) | fn header_from_file() { function query_param_from_file (line 2084) | fn query_param_from_file() { function can_unset_default_headers (line 2101) | fn can_unset_default_headers() { function can_unset_headers (line 2116) | fn can_unset_headers() { function can_set_unset_header (line 2133) | fn can_set_unset_header() { function named_sessions (line 2150) | fn named_sessions() { function anonymous_sessions (line 2202) | fn anonymous_sessions() { function anonymous_read_only_session (line 2245) | fn anonymous_read_only_session() { function session_files_are_created_in_read_only_mode (line 2287) | fn session_files_are_created_in_read_only_mode() { function named_read_only_session (line 2330) | fn named_read_only_session() { function expired_cookies_are_removed_from_session (line 2380) | fn expired_cookies_are_removed_from_session() { function cookies_are_equal (line 2456) | fn cookies_are_equal(c1: &str, c2: &str) -> bool { function cookies_override_each_other_in_the_correct_order (line 2462) | fn cookies_override_each_other_in_the_correct_order() { function cookies_are_segmented_by_domain (line 2524) | fn cookies_are_segmented_by_domain() { function cookies_are_stored_with_default_path (line 2597) | fn cookies_are_stored_with_default_path() { function basic_auth_from_session_is_used (line 2640) | fn basic_auth_from_session_is_used() { function bearer_auth_from_session_is_used (line 2672) | fn bearer_auth_from_session_is_used() { function auth_netrc_is_not_persisted_in_session (line 2704) | fn auth_netrc_is_not_persisted_in_session() { function multiple_headers_with_same_key_in_session (line 2751) | fn multiple_headers_with_same_key_in_session() { function headers_from_session_are_overwritten (line 2796) | fn headers_from_session_are_overwritten() { function old_session_format_is_automatically_migrated (line 2838) | fn old_session_format_is_automatically_migrated() { function print_intermediate_requests_and_responses (line 2899) | fn print_intermediate_requests_and_responses() { function history_print (line 2950) | fn history_print() { function max_redirects_is_enforced (line 3003) | fn max_redirects_is_enforced() { function method_is_changed_when_following_302_redirect (line 3021) | fn method_is_changed_when_following_302_redirect() { function method_is_not_changed_when_following_307_redirect (line 3062) | fn method_is_not_changed_when_following_307_redirect() { function sensitive_headers_are_removed_after_cross_domain_redirect (line 3102) | fn sensitive_headers_are_removed_after_cross_domain_redirect() { function request_body_is_buffered_for_307_redirect (line 3139) | fn request_body_is_buffered_for_307_redirect() { function read_args_from_config (line 3174) | fn read_args_from_config() { function warns_if_config_is_invalid (line 3196) | fn warns_if_config_is_invalid() { function http1_0 (line 3215) | fn http1_0() { function http1_1 (line 3232) | fn http1_1() { function http2 (line 3247) | fn http2() { function http2_prior_knowledge (line 3261) | fn http2_prior_knowledge() { function http3_prior_knowledge (line 3288) | fn http3_prior_knowledge() { function override_response_charset (line 3300) | fn override_response_charset() { function override_response_mime (line 3317) | fn override_response_mime() { function omit_response_body (line 3340) | fn omit_response_body() { function encoding_detection (line 3361) | fn encoding_detection() { function tilde_expanded_in_request_items (line 3430) | fn tilde_expanded_in_request_items() { function gzip (line 3471) | fn gzip() { function deflate (line 3496) | fn deflate() { function brotli (line 3521) | fn brotli() { function zstd (line 3546) | fn zstd() { function empty_response_with_content_encoding (line 3571) | fn empty_response_with_content_encoding() { function empty_response_with_content_encoding_and_content_length (line 3594) | fn empty_response_with_content_encoding_and_content_length() { function empty_zstd_response_with_content_encoding_and_content_length (line 3620) | fn empty_zstd_response_with_content_encoding_and_content_length() { function streaming_empty_zstd_response_with_content_encoding_and_content_length (line 3646) | fn streaming_empty_zstd_response_with_content_encoding_and_content_lengt... function response_meta (line 3672) | fn response_meta() { function redirect_with_response_meta (line 3689) | fn redirect_with_response_meta() { function digest_auth_with_response_meta (line 3725) | fn digest_auth_with_response_meta() { function non_get_redirect_translation_warning (line 3737) | fn non_get_redirect_translation_warning() { function custom_json_indent_level (line 3745) | fn custom_json_indent_level() { function unsorted_headers (line 3769) | fn unsorted_headers() { function multiple_format_options_are_merged (line 3797) | fn multiple_format_options_are_merged() { function reason_phrase_is_preserved (line 3827) | fn reason_phrase_is_preserved() { FILE: tests/server/mod.rs type Body (line 18) | type Body = Full; type Builder (line 19) | type Builder = hyper_util::server::conn::auto::Builder String { method url (line 51) | pub fn url(&self, path: &str) -> String { method host (line 69) | pub fn host(&self) -> String { method socket_path (line 81) | pub fn socket_path(&self) -> std::path::PathBuf { method port (line 94) | pub fn port(&self) -> u16 { method assert_hits (line 102) | pub fn assert_hits(&self, hits: u8) { method disable_hit_checks (line 106) | pub fn disable_hit_checks(&mut self) { method drop (line 112) | fn drop(&mut self) { function http (line 141) | pub fn http(func: F) -> Server function http_unix (line 154) | pub fn http_unix(func: F) -> Server function http_v6 (line 167) | pub fn http_v6(func: F) -> Option type Serv (line 184) | type Serv = dyn Fn(Request) -> Box + Sen... type ServFut (line 185) | type ServFut = dyn Future> + Send + Unpin; function http_inner (line 187) | fn http_inner(