Commit Graph

  • 2c29cc230c Remove Sync requirement of ReadWrite trait Martin Algesten 2022-01-30 13:53:47 +01:00
  • 219b5edf9e Rename test function as_write_vec -> into_written_bytes Martin Algesten 2022-01-29 11:06:29 +01:00
  • 6e5041044b Rename trait HttpsStream -> ReadWrite and make it public Martin Algesten 2021-12-23 16:43:50 +01:00
  • 140aa5901f Add tcp no_delay option (#465) Daniel 2022-01-06 23:22:33 +01:00
  • 007ce44ea7 Bump version to 2.4.0 Martin Algesten 2021-12-18 19:33:01 +01:00
  • adbd9144af Update changelog for 2.4.0 Martin Algesten 2021-12-18 19:30:40 +01:00
  • 3b68dce23a Make Middleware always Send + Sync + 'static Martin Algesten 2021-12-21 08:44:53 +01:00
  • 81c0e66ec7 MiddlewareNext iterator without Box Martin Algesten 2021-12-21 08:39:16 +01:00
  • 43680335dc Middleware chain based on iterator Martin Algesten 2021-12-20 22:02:36 +01:00
  • a2d62368f3 Remove Option wrapper around middleware Martin Algesten 2021-12-20 20:49:19 +01:00
  • 09ecb6ffd6 Implement middleware function Martin Algesten 2021-12-20 10:21:19 +01:00
  • 7b2f28bbc2 Tidy up Response::url initialization Martin Algesten 2021-12-20 10:20:44 +01:00
  • 87cf59d399 Doc fix Martin Algesten 2021-12-20 10:18:56 +01:00
  • 98ac6313e5 Agent/AgentBuilder impl Debug manually Martin Algesten 2021-12-20 10:16:59 +01:00
  • c55ac31087 Fix quoting in test runner Jacob Hoffman-Andrews 2021-12-19 22:17:37 -08:00
  • 352bf19f40 Fix doctests Jacob Hoffman-Andrews 2021-12-19 22:14:18 -08:00
  • 2df70168c4 Use ? instead of unwrap in examples (#458) Jacob Hoffman-Andrews 2021-12-19 20:04:30 -08:00
  • 2563df4f62 Bump rustls to >=0.20.1 Jacob Hoffman-Andrews 2021-12-19 14:39:54 -08:00
  • 738cb84aec Enable 'gzip' by default Martin Algesten 2021-12-19 21:37:09 +01:00
  • 4aa5480543 Improve doc after review Martin Algesten 2021-12-19 21:10:32 +01:00
  • 8f476e9d29 cargo fmt Martin Algesten 2021-12-19 20:59:06 +01:00
  • 75f6be8ff8 Format error message like suggested in review Martin Algesten 2021-12-19 20:57:39 +01:00
  • d1a2c630f5 Update src/rtls.rs Martin Algesten 2021-12-19 20:50:40 +01:00
  • 324c5c074f Update src/error.rs Martin Algesten 2021-12-19 20:48:03 +01:00
  • f3857eed00 Ensure we provide a Transport::message() when we can Martin Algesten 2021-12-19 12:46:27 +01:00
  • 6a094db668 Provide access methods for error::Transport Martin Algesten 2021-12-19 12:43:58 +01:00
  • 158a6c6f03 Clarify serde doc on Response::into_json (#451) Martin Algesten 2021-12-19 20:41:44 +01:00
  • 598ebf4393 Remove Content-Encoding and length when decompressing Malloc Voidstar 2021-10-05 09:46:31 -07:00
  • 6281a0bea6 Add tests for automatic decompression Malloc Voidstar 2021-10-05 08:43:08 -07:00
  • 9a070fb1ad And to lib.rs, woops Malloc Voidstar 2021-10-05 07:44:57 -07:00
  • 024bcaac99 Add gzip/brotli to README Malloc Voidstar 2021-10-05 07:41:51 -07:00
  • 23e993689a Rename Decompressor to BrotliDecoder to align with gzip Malloc Voidstar 2021-10-02 12:25:03 -07:00
  • 873e6066f3 Add support for gzip and brotli Malloc Voidstar 2021-09-26 05:11:07 -07:00
  • 0f0dec5f32 Fixes after feedback Martin Algesten 2021-12-17 20:49:10 +01:00
  • 2b0eca9827 Move auth header on redirect to unit construction Martin Algesten 2021-12-11 09:03:49 +01:00
  • f941717a5d Mark RedirectAuthHeaders as non_exhaustive Martin Algesten 2021-12-11 08:54:58 +01:00
  • 27533cf31b Use match expression against RedirectAuthHeaders to ensure exhaustive Martin Algesten 2021-12-11 08:50:18 +01:00
  • c59632bd97 Use Url (instead of String) in internal history var Martin Algesten 2021-12-11 08:47:41 +01:00
  • 2a5ab43c8c Expose RedirectAuthHeaders enum at crate root Martin Algesten 2021-12-11 08:30:45 +01:00
  • 8d33318a23 Rename setter to be consistent with other builder settter Martin Algesten 2021-12-11 08:30:30 +01:00
  • b033e0f614 Doc fixes to RedirectAuthHeaders Martin Algesten 2021-12-11 08:30:05 +01:00
  • 26a3715f62 Revert move of variable llde 2021-12-10 18:00:14 +01:00
  • 653f791638 Create new configuration option for redirect preserving authorization header in Agent. Handle new option in Unit llde 2021-12-10 17:56:44 +01:00
  • 38ad90307d Preserve Authorization in same host redirects, when scheme and port are equals llde 2021-12-09 12:07:30 +01:00
  • 61e2402045 deprecate using SerdeValue, SerdeMap and serde_to_value soruh 2021-12-11 15:59:42 +01:00
  • 59f1fab4d3 allow send_json to send any serde::Serialize value soruh 2021-12-11 15:59:34 +01:00
  • 56276c3742 Add support for alternate TLs implementations. Jacob Hoffman-Andrews 2021-10-04 22:47:00 -07:00
  • 1c1dfaa691 Bump rustls to 0.20.1; add src to rustls error (#438) Malloc Voidstar 2021-12-17 00:32:00 -08:00
  • 876d5757a7 Update changelog Martin Algesten 2021-11-26 17:37:57 +01:00
  • 3709221a28 Handle 400-error from client.badssl.com Martin Algesten 2021-11-26 14:21:41 +01:00
  • a6d1750f14 Fix native-certs and add to test matrix Martin Algesten 2021-11-26 14:20:39 +01:00
  • 69ad3aabb0 Add shortcuts for PATCH (again)` Jochen Kupperschmidt 2021-10-13 02:31:36 +02:00
  • 94a8040706 Prepare for release 2.3.1 (#437) Jacob Hoffman-Andrews 2021-11-14 09:55:55 -08:00
  • 418c0fafd5 Update rustls-native-certs requirement from 0.5 to 0.6 (#432) dependabot[bot] 2021-11-12 22:06:40 -08:00
  • 31dd67380e Return error for InvalidDnsNameError, don't panic (#436) Malloc Voidstar 2021-11-12 17:15:39 -08:00
  • dbc52eb88d Fix typo in CHANGELOG.md (#434) Orhun Parmaksız 2021-11-08 03:59:26 +02:00
  • 9587a6cc8e Update CHANGELOG and Cargo.toml for 2.3.0 (#431) Jacob Hoffman-Andrews 2021-10-21 11:39:43 -07:00
  • f22e67be4c Fix agent test. Jacob Hoffman-Andrews 2021-10-20 16:55:17 -07:00
  • 5ae55ad5f2 Match versions of rustls Jacob Hoffman-Andrews 2021-10-20 16:42:19 -07:00
  • 848eb7be38 Match versions of rustls Jacob Hoffman-Andrews 2021-10-20 15:32:34 -07:00
  • 3bc7d8336b Fix lint Jacob Hoffman-Andrews 2021-10-06 23:51:43 -07:00
  • 5fa912c4d3 Update to rustls 0.20, webpki 0.22 Jacob Hoffman-Andrews 2021-10-06 19:33:40 -07:00
  • eb78813df5 Redact sensitive headers when logging prelude (#415) Andrew Hickman 2021-10-05 16:57:16 +01:00
  • 1ec60e1c15 Remove trailing newline from testing response Jon Gjengset 2021-10-01 14:08:21 -07:00
  • 535bc4b4cb Remove two unused fields. (#425) Jacob Hoffman-Andrews 2021-10-02 01:04:36 -07:00
  • a1d7009e24 2.2.0 Martin Algesten 2021-08-23 21:28:26 +02:00
  • 551f4289fb Update all dependencies Martin Algesten 2021-08-23 21:21:39 +02:00
  • 4ed42088b7 Add -m and -ct to cureq example Martin Algesten 2021-08-23 21:11:27 +02:00
  • 485647d5de Fix proxy urls that end with trailing slash Martin Algesten 2021-08-12 12:46:12 +02:00
  • 641eb3df10 Fix overlapping redirect tests Martin Algesten 2021-08-12 12:40:07 +02:00
  • 2869a80130 oh, use None != proto instead of proto.is_some() Keijia 2021-08-20 17:04:42 +03:00
  • c7292919e5 fix build fails Keijia 2021-08-20 17:00:44 +03:00
  • f6f021cdbb highlight that socks:// prefix is equal to socks5:// Keijia 2021-08-20 16:44:49 +03:00
  • 35c472507b whoops, fix tests for socks4://and socks4a:// Keijia 2021-08-20 16:40:59 +03:00
  • 401d051bd1 add socks4a:// and socks:// tests Keijia 2021-08-20 16:40:21 +03:00
  • 12b49e59f4 whoops, fix HTTPConnect proxies Keijia 2021-08-17 01:03:18 +03:00
  • 37e19b34ec add socks4 to readme Keijia 2021-08-17 00:48:39 +03:00
  • bdaa9fc68c add support for socks4 and socks4a Keijia 2021-08-17 00:45:01 +03:00
  • e198a5169b bump socks to 0.3.3 Keijia 2021-08-17 00:43:55 +03:00
  • 526eb7b9e0 Fix clippy lints Martin Algesten 2021-08-23 20:29:36 +02:00
  • 6797258e9d Use debug logs when making requests Jelle Besseling 2021-08-13 14:26:31 +02:00
  • 4665b0aa5a Fix clippy warnings Niketh Murali 2021-08-11 03:10:06 +05:30
  • eb04d96af8 Fix a typo (#397) Tshepang Lekhonkhobe 2021-07-09 18:10:22 +02:00
  • 37e1e91e22 Clear Content-Length header from redirected requests (#394) Gus Power 2021-06-19 00:12:31 +01:00
  • 989995d1ba Fix clippy lints (#387) Martin Algesten 2021-05-12 03:05:17 +02:00
  • c06c345f28 Remove extra clone when request with Url Berrysoft 2021-04-21 11:46:43 +08:00
  • 39d44af669 Upgrade to GitHub-native Dependabot dependabot-preview[bot] 2021-04-28 22:24:22 +00:00
  • db5203d1a0 fix typo "memroy" to "memory" (#379) 12932 2021-04-27 02:41:26 +08:00
  • c0d7157ae7 Update CHANGELOG and Cargo.toml for 2.1.1 (#376) Jacob Hoffman-Andrews 2021-04-26 11:00:53 -07:00
  • 50d9ccff8c Don't reuse conns with bytes pending from server (#372) Jacob Hoffman-Andrews 2021-04-18 10:46:20 -07:00
  • 5e4b37a393 Add more parameters to cureq example (#371) Jacob Hoffman-Andrews 2021-04-17 12:04:44 -07:00
  • 4ade506047 Allow upper_case_acronyms Martin Algesten 2021-03-25 21:24:05 +01:00
  • a6085d8237 Install/use rust toolchain for Lint step Martin Algesten 2021-04-17 12:16:56 +02:00
  • 2f1f9c45aa Fix typo, disable default features of cookie Malloc Voidstar 2021-04-05 20:32:23 -07:00
  • e70fdcc797 2.1.0 Martin Algesten 2021-03-25 08:30:34 +01:00
  • 1199432cfe Changelog for 2.1.0 Martin Algesten 2021-03-25 08:29:15 +01:00
  • 3cfa9e6b35 Refactor into_string body reading Martin Algesten 2021-03-25 17:37:11 +01:00
  • 7c6ed53df3 Move Response::unit and stream to the heap Martin Algesten 2021-03-24 21:01:42 +01:00
  • cfaca317c6 Provide url in Response Debug impl Martin Algesten 2021-03-24 20:26:44 +01:00
  • 3044ae7efd Add size limits on responses (#351) Jacob Hoffman-Andrews 2021-03-24 13:28:23 -07:00