Commit Graph

  • 4df232efad Return an Error instead of panic if sync Client cannot startup runtime. Sean McArthur 2018-12-26 16:59:51 -08:00
  • c4985674aa remove Inner noise from Error Debug format Sean McArthur 2018-12-19 11:23:35 -08:00
  • 66175bbd3e increase minimum rust to 1.30 Sean McArthur 2018-12-18 11:55:55 -08:00
  • 44837c1b69 Replace getaddrinfo resolver with trust-dns-resolver Sean McArthur 2018-12-17 13:28:15 -08:00
  • b259d7c5f3 Stop Appveyor from building PRs twice Sean McArthur 2018-12-18 12:36:38 -08:00
  • 49d2905011 allow deprecated Error::cause in test Sean McArthur 2018-12-17 13:28:57 -08:00
  • 11962e36ab allow deprecated on Error::cause Sean McArthur 2018-12-17 12:23:30 -08:00
  • 37039760f8 Add rustls support (#390) quininer 2018-12-18 03:57:43 +08:00
  • 9cbd8c41ad Add try_clone to Request and RequestBuilder (#387) polyfloyd 2018-12-17 20:55:06 +01:00
  • 559f9634bc Don't panic if the client builder fails (#398) Kornel 2018-12-13 21:44:47 +00:00
  • a13f89c4e5 Update base64 to 0.10 (#383) Bastien Orivel 2018-11-28 23:53:01 +01:00
  • 8217c43db2 Allow native-tls to be vendored (#391) Daniel Wagner-Hall 2018-11-28 22:52:23 +00:00
  • e2fa5497ef update deprecated Uri::port to port_part Sean McArthur 2018-11-26 12:14:05 -08:00
  • 459de48093 Bump minimum Rust version to 1.29. Sean McArthur 2018-11-21 12:22:05 -08:00
  • 4aa34bb591 Response.copy_to: Fix docs markup Danilo Bargen 2018-11-18 21:29:43 +01:00
  • 82bc1be89e Bumped env_logger to 0.6 Alex Gaynor 2018-11-15 10:11:23 -05:00
  • 6555261064 v0.9.5 Sean McArthur 2018-11-13 12:31:12 -08:00
  • 6ef2060510 Added dns_threads setter to sync ClientBuilder (#381) David Wilemski 2018-11-05 11:27:32 -08:00
  • 527bcecce6 fix typo about x-form-urlencoded doc KNnut 2018-11-06 03:26:11 +08:00
  • 97393143a5 put all TLS functionality behind a feature flag Sean McArthur 2018-10-29 13:33:04 -07:00
  • 478ef9bf15 add Response::remote_addr() method Sean McArthur 2018-10-26 14:23:21 -07:00
  • c91f37babf v0.9.4 Sean McArthur 2018-10-26 14:07:17 -07:00
  • 70b68c2b0a add configuration to multipart::Form to choose percent-encoding format Sean McArthur 2018-10-26 13:57:45 -07:00
  • e1a67f32aa v0.9.3 Sean McArthur 2018-10-17 14:25:19 -07:00
  • acd23d057a fix tests generating an extra blank Txn for each server Sean McArthur 2018-10-17 14:17:08 -07:00
  • 512b80a3ad ensure async request is canceled if there is a timeout Sean McArthur 2018-10-17 13:38:54 -07:00
  • a82232f0ee always wait a max of 5 seconds for sync Client's background thread to start Sean McArthur 2018-10-17 12:33:59 -07:00
  • efa5926813 Added Part::bytes(...) method Mark Blum 2018-10-12 00:46:44 -04:00
  • e40cc33e52 fix unreachable code if polling async Body created from a single buffer Sean McArthur 2018-10-05 13:03:00 -07:00
  • 44c8ca392d Fix multipart filename encoding (#363) Yannick Heinrich 2018-10-05 20:22:53 +02:00
  • c4bf420021 Integrate helper functions inside corresponding structs Yannick Heinrich 2018-10-05 14:02:31 +02:00
  • 647f59756e Add missing pub(crate) statements. Yannick Heinrich 2018-10-05 13:46:38 +02:00
  • 4857a5917d From<http::Response> for Response (#360) Paul Woolcock 2018-10-04 20:38:26 -04:00
  • 22fa725f48 Document gzip client's behaviour (#358) Yannick Heinrich 2018-10-03 19:14:41 +02:00
  • 6c8f08a761 v0.9.2 Sean McArthur 2018-09-25 11:53:59 -07:00
  • 423559625d bump libflate dependency to 0.1.18 Sean McArthur 2018-09-25 11:48:56 -07:00
  • 680387f790 try utf8 for location headers Sean McArthur 2018-09-25 11:46:46 -07:00
  • cd7dbe226c log invalid location header value on error Sean McArthur 2018-09-21 14:22:41 -07:00
  • 5bf94e7bdd fix panic if Location header is not a valid string Sean McArthur 2018-09-21 14:13:32 -07:00
  • 2db72d1593 v0.9.1 Sean McArthur 2018-09-20 14:15:20 -07:00
  • aa6b1f4184 Added async example which makes multiple requests (#351) Josh Mcguigan 2018-09-20 14:07:33 -07:00
  • 15857a11a4 fix streaming body from wrongly returning 'closed connection' error Sean McArthur 2018-09-19 16:38:33 -07:00
  • 1a513efe39 reduce size of Error Sean McArthur 2018-09-19 15:39:32 -07:00
  • 449ec8f1f3 remove extra size_of tests Sean McArthur 2018-09-19 15:28:20 -07:00
  • 0735e586e5 reduce size of Response, async::Response, and async::Decoder Sean McArthur 2018-09-19 15:23:01 -07:00
  • 2698148743 fix improper handling of request body backpressure Sean McArthur 2018-09-19 14:20:08 -07:00
  • 276c3d6594 Added JSON examples Vlad Frolov 2018-05-02 17:34:15 +03:00
  • 3a5af68b92 remove invalid headers after erasing body (#349) Xeoeen 2018-09-19 21:07:59 +02:00
  • 76547fee91 v0.9.0 Sean McArthur 2018-09-18 14:35:48 -07:00
  • 610cdd266c Fix panicking when passed a file:// URL Sean McArthur 2018-09-18 12:42:49 -07:00
  • 68d012e954 Try to fix docs.rs generation (#343) Laurent Arnoud 2018-09-13 00:59:56 +02:00
  • 55fcedcf97 pub(crate)ify the async::client module Sean McArthur 2018-09-11 14:37:50 -07:00
  • 1ded95ce0e pub(crate)ify the async::request module Sean McArthur 2018-09-11 14:33:38 -07:00
  • 2f893718ba pub(crate)ify async::response module Sean McArthur 2018-09-11 14:27:28 -07:00
  • b95de15587 change Response::version() to return Version by value Sean McArthur 2018-09-11 14:22:21 -07:00
  • 64569542d4 fix tests for Part::mime() Sean McArthur 2018-09-11 14:12:16 -07:00
  • 6dfb7a5a0e pub(crate)ify the error module Sean McArthur 2018-09-11 13:52:04 -07:00
  • 5abf064770 change multipart::Part::mime() to mime_str() Sean McArthur 2018-09-11 13:38:02 -07:00
  • 99b52f949b Update to uuid 0.7 (#340) Lucas Kent 2018-09-12 06:31:52 +10:00
  • a205128f03 fix multipart test compilation Sean McArthur 2018-09-04 13:10:07 -07:00
  • b4c37fdc37 fix multipart header test Sean McArthur 2018-09-04 11:47:51 -07:00
  • 427900ff0c switch multipart headers to use HeaderValue Sean McArthur 2018-09-04 11:30:18 -07:00
  • ca42e77abe Add a way to add headers to parts of multipart form data (#331) jcaesar 2018-09-05 01:51:00 +09:00
  • c32831511b minimum rust version to 1.26 due to dependencies Sean McArthur 2018-08-29 18:23:35 -07:00
  • 2143aad3cd pub(crate)ify the multipart facade Sean McArthur 2018-08-29 18:22:55 -07:00
  • f26d94d4ac use capital B for "Basic" and "Bearer" authentication helpers (#332) Andrey Kutejko 2018-08-29 03:08:59 +02:00
  • 2ada485591 update minimum rust version to 1.25 Sean McArthur 2018-08-27 10:22:30 -07:00
  • 13cfc4df85 refactor redirect facade to use pub(crate) Sean McArthur 2018-08-23 10:03:52 -07:00
  • ef529df3f2 remove inline annotations on client builder methods Sean McArthur 2018-08-23 09:57:04 -07:00
  • afbeb1a384 change ClientBuilders to by-value builders Sean McArthur 2018-08-23 09:55:14 -07:00
  • ef05bfbf97 Add bearer auth to RequestBuilder (#330) Brendan Hansknecht 2018-08-22 15:00:59 -04:00
  • 993658c2b6 remove error-chain from dev-dependencies Sean McArthur 2018-08-17 10:42:55 -07:00
  • 3424e91746 update and remove unnecessary dependencies Sean McArthur 2018-08-15 16:54:41 -07:00
  • e182c416c9 add hyper-011 cargo feature to ease migration Sean McArthur 2018-08-15 16:47:02 -07:00
  • 73a15ba13b fix CI with minimum rust version Sean McArthur 2018-08-15 16:23:50 -07:00
  • 3fbda4fd49 remove unstable language and feature Sean McArthur 2018-08-15 16:08:47 -07:00
  • d060891b62 fix async request builder tests Sean McArthur 2018-08-15 15:36:05 -07:00
  • 591b83a8b8 remove some unwraps Sean McArthur 2018-08-15 15:22:28 -07:00
  • 279725ee5e Change RequestBuilder methods to own a builder Konrad Borowski 2018-02-17 14:26:35 +01:00
  • d8e47babf6 change invalid cert api to match native-tls (#327) Scott Schroeder 2018-08-13 15:08:02 -07:00
  • 11f8588989 upgrade to native-tls 0.2 + invalid certs (#325) Yannick Heinrich 2018-08-08 22:14:36 +02:00
  • a25f62f4cb Use base64 to fully encode basic auth creds Douman 2018-07-27 22:39:09 +03:00
  • 12cfbafc28 Add support for getting HTTP version of a response Yash Srivastav 2018-07-06 22:30:30 -04:00
  • a52520941f multipart: Force a CRLF at the end of request kennytm 2018-07-18 07:34:59 +08:00
  • c1c5f14b7c fix unused result warning in async example Sean McArthur 2018-07-05 15:06:09 -07:00
  • 6c78e363e0 remote tokio-core dependency Sean McArthur 2018-07-05 14:06:01 -07:00
  • c417d6dab8 Upgrade hyper to 0.12 Yash Srivastav 2018-07-05 13:03:31 -04:00
  • 7bd3619ece fix query doc typo (#309) Ben Shaw 2018-06-26 18:40:28 -07:00
  • a4f5c2d3f0 v0.8.6 Sean McArthur 2018-05-31 12:08:07 -07:00
  • cf5deac02d document that Response::text consumes the body Sean McArthur 2018-05-31 12:01:44 -07:00
  • c5e1e0eddd remove note about using ? since it can be used in main now Sean McArthur 2018-05-31 11:57:42 -07:00
  • bffebfc470 Bump dependency on native-tls (#286) Mattias Päivärinta 2018-04-16 00:19:55 +02:00
  • 31504388d7 Add status code accessor to RedirectAttempt (#285) Mattias Päivärinta 2018-04-16 00:11:50 +02:00
  • c00950085c Make RedirectPolicy::redirect() public (#282) Mattias Päivärinta 2018-04-05 04:07:13 +02:00
  • 26e202a0de Add code example structure explanation (#280) Selwyn 2018-04-03 20:31:15 +02:00
  • cf949177de Update hyper to 0.11.22 David Nies 2018-03-09 22:46:07 +01:00
  • a9ec2b8c30 Bump minimum rustc version to 1.21.0 (#270) messense 2018-03-13 05:06:54 +08:00
  • d142ff2df1 Update uuid to 0.6 (#257) Dylan DPC 2018-02-18 00:14:58 +05:30
  • e3f468b8a9 Disable Travis build cache (#259) Konrad Borowski 2018-02-17 18:23:56 +01:00
  • aed318cb75 v0.8.5 Sean McArthur 2018-02-15 12:20:49 -08:00