Commit Graph

32 Commits

Author SHA1 Message Date
Ben Shaw
7bd3619ece fix query doc typo (#309) 2018-06-26 18:40:28 -07:00
Mattias Päivärinta
31504388d7 Add status code accessor to RedirectAttempt (#285) 2018-04-15 15:11:50 -07:00
Sean McArthur
7db860759d Revert "Merge pull request #232 from tafia/hyper-proxy"
This reverts commit b09b8620a6, reversing
changes made to abfcd2796e.
2018-02-15 12:13:33 -08:00
Oliver Schneider
f0b774960d Allow unsized types in query, form and json 2018-02-01 14:44:39 +01:00
Simon Bernier St-Pierre
5672791ad0 add query method to unstable api 2018-01-22 20:42:05 -05:00
Sean McArthur
374ec44d34 remove deprecated no_proto usage of hyper 2018-01-05 15:20:40 -08:00
Sean McArthur
b09b8620a6 Merge pull request #232 from tafia/hyper-proxy
Remove proxy handling in favor of hyper-proxy crate
2018-01-02 10:12:44 -08:00
Johann Tuffe
4101c78a1f use hyper-proxy 0.4.0 which allows multiple proxies 2017-12-21 15:40:36 +08:00
Johann Tuffe
871b8076e4 add proxy authorization 2017-12-19 15:44:06 +08:00
Sean McArthur
120890f041 enable hyper's no_proto config 2017-12-18 18:20:35 -08:00
Johann Tuffe
07f89984c4 store intercept to set_proxy on requests 2017-12-18 17:53:17 +08:00
Johann Tuffe
8b1bb0b53e remove proxy handling in favor of hyper-proxy crate 2017-12-15 11:51:02 +08:00
knight42
f4437ea7b1 feat: set default headers 2017-10-22 13:01:35 +08:00
Henning Kowalk
9d158e69f8 Small yet annoying typo fixed. 2017-10-21 01:21:57 +02:00
Ömer Sinan Ağacan
d9d92b7479 Implement option to set num of DNS threads in async ClientBuilder 2017-10-09 21:16:04 +03:00
Kamal Marhubi
87f03e167c async: Add conversions from static slices to Body
These useful conversions were missed in #159.

refs #158
2017-09-21 01:18:05 -04:00
Christopher Vittal
8aaff6c326 Add into_body to async_impl::response::Response
Closes #200
2017-09-20 03:21:24 -04:00
Sean McArthur
390fc34148 wip 2017-09-04 13:11:20 -07:00
Sean McArthur
779f8080ef change Builders to only error at the end
Closes #189
2017-08-31 18:10:45 -07:00
Anthony Nowell
646c8b8efc Support PKCS12 identity on the ClientBuilder 2017-08-25 15:38:45 -07:00
Ashley Mannix
2cb70c872a make body return borrowed decoder 2017-08-19 18:02:20 +10:00
Ashley Mannix
e2fa97254e support async gzip decoding 2017-08-18 19:43:06 +10:00
Sean McArthur
8719b3d540 add some traces for proxy 2017-08-17 10:01:18 -07:00
Sean McArthur
229a2384a6 add Proxy::custom to allow custom proxy functions 2017-08-02 15:03:37 -07:00
Sean McArthur
2d11a4bd71 fix 307/308 redirects with GET requests 2017-07-24 16:11:54 -07:00
Ashley Mannix
381d10f80b From impls for Body 2017-07-07 16:20:41 +10:00
Brian Henderson
17c0b200cc do not set_proxy() for https requests 2017-07-03 21:07:44 -04:00
Sean McArthur
1785e0dc5d Disable hostname verification when option is enabled
Closes #153
2017-06-28 11:03:28 -07:00
Sean McArthur
478309e03f Merge pull request #152 from seanmonstar/proxy
add a `Proxy` type
2017-06-22 11:40:56 -07:00
Tom Prince
855e6615eb Add error_for_status.
This makes it it easy to turn error responses into error
results.
2017-06-22 11:03:39 -07:00
Sean McArthur
6cdaff4b66 add a Proxy type
Proxies can currently be configured to intercept HTTP, HTTPS, and all
requests. HTTPS tunneling is supported.

Closes #30
2017-06-22 09:49:00 -07:00
Sean McArthur
665b4fe718 upgrade hyper to v0.11 2017-06-21 09:47:21 -07:00