Sean McArthur
dcf70f3f4e
use Body inside multipart Parts
2017-08-21 14:18:52 -07:00
e00E
93c8321305
Add multipart/form-data support
2017-08-21 10:58:59 -07:00
Sean McArthur
fe8c7a2d01
Merge pull request #165 from KodrAus/feat/async-decoder
...
Support Async Gzip Decoding
2017-08-21 10:57:55 -07:00
Sean McArthur
ee4db166ce
v0.7.3
2017-08-19 16:07:24 -07:00
Ashley Mannix
2cb70c872a
make body return borrowed decoder
2017-08-19 18:02:20 +10:00
Sean McArthur
0460d5756c
fix flaky redirect test when first read doesn't include full body
2017-08-18 13:59:34 -07:00
Ashley Mannix
e2fa97254e
support async gzip decoding
2017-08-18 19:43:06 +10:00
Sean McArthur
aee559bdea
Merge pull request #188 from Roguelazer/issue-183-take-2
...
join on client thread when all clients have been dropped, take two
2017-08-17 18:04:51 -07:00
Sean McArthur
f8fd5be16c
fix unknown lint error
2017-08-17 12:52:44 -07:00
Sean McArthur
c166e04a55
fix lint warnings on newer nightly
2017-08-17 10:52:22 -07:00
Sean McArthur
8719b3d540
add some traces for proxy
2017-08-17 10:01:18 -07:00
James Brown
5071438c08
join on client thread when all clients have been dropped, take two
2017-08-17 09:35:30 -07:00
Sean McArthur
7bfa7adb49
deny warnings in examples
2017-08-02 17:45:49 -07:00
Sean McArthur
229a2384a6
add Proxy::custom to allow custom proxy functions
2017-08-02 15:03:37 -07:00
Sean McArthur
df4b6bd8db
fix broken test now that hyper does not include content-length when body is empty
2017-07-28 14:17:19 -07:00
Sean McArthur
a163e73b82
v0.7.2
2017-07-25 12:50:42 -07:00
Sean McArthur
cf246d072b
fix panic in removing Authorization header during redirect
...
Closes #171
2017-07-24 18:16:44 -07:00
Sean McArthur
2d11a4bd71
fix 307/308 redirects with GET requests
2017-07-24 16:11:54 -07:00
Sean McArthur
8296c5e28e
fix broken doc test
2017-07-13 14:19:22 -07:00
Sean McArthur
7f9750d072
fix doc test on clientbuilder
2017-07-13 13:24:01 -07:00
Sean McArthur
dd147f1915
v0.7.1
2017-07-13 12:30:38 -07:00
Sean McArthur
d80ab1e104
add note that reqwest handles proxies
2017-07-13 12:30:02 -07:00
Sean McArthur
fb4dd2e0b3
improve docs around Body type
2017-07-13 12:17:38 -07:00
Sean McArthur
12ee6fbcde
small improvements to docs
2017-07-13 12:17:38 -07:00
Sean McArthur
21e050dedf
Merge pull request #163 from e00E/printfix
...
Remove leftover debug prints
2017-07-13 08:57:36 -07:00
e00E
68c7e1dc5c
Remove leftover debug prints
2017-07-13 12:59:59 +02:00
Sean McArthur
f5ce7d8127
v0.7.0
2017-07-11 12:41:29 -07:00
Sean McArthur
276f177d99
Merge pull request #159 from KodrAus/feat/async-body-conversions
...
From impls for Body
2017-07-07 08:19:53 -07:00
Ashley Mannix
381d10f80b
From impls for Body
2017-07-07 16:20:41 +10:00
Sean McArthur
f4f3c3e173
use proxy port as a u16 instead of String
2017-07-04 11:55:26 -07:00
Sean McArthur
b593336dc6
Merge pull request #157 from bhendo/master
...
Complete CONNECT requests for HTTPS through proxies
2017-07-03 19:22:21 -07:00
Brian Henderson
17c0b200cc
do not set_proxy() for https requests
2017-07-03 21:07:44 -04:00
Brian Henderson
f9f27f9c66
format connect request with host:port and connect on http/1.0 responses
2017-07-03 21:06:33 -04:00
Brian Henderson
778bf92f4e
Merge pull request #1 from seanmonstar/master
...
connect TLS aftet tunneling to a proxy
2017-07-03 20:45:53 -04:00
Sean McArthur
17c0739fcc
connect TLS aftet tunneling to a proxy
2017-06-30 18:28:52 -07:00
Sean McArthur
e5753a5eb4
remove hyper::Error::Ssl
2017-06-28 11:09:40 -07: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
a25b9a6002
Merge pull request #151 from seanmonstar/async
...
upgrade hyper to v0.11
2017-06-21 10:50:15 -07:00
Sean McArthur
665b4fe718
upgrade hyper to v0.11
2017-06-21 09:47:21 -07:00
Sean McArthur
8633060eaf
error docs touchups
2017-06-11 11:03:15 -07:00
Andrew Gauger
c8d03dd8b9
Examples for Error Documentation ( #144 )
2017-06-11 09:55:12 -07:00
Sean McArthur
0759f43ecb
change error.cause() to return error.get_ref().cause()
...
Also note, this has a functional breaking change:
IO, URL, and TLS errors reported by hyper are promoted internally.
That means you shouldn't downcast `get_ref` to a `hyper::Error` to
look for those errors.
Closes #140
2017-06-09 17:49:10 -07:00
Sean McArthur
64c672a8cd
prevent rustfmt from ever formatting reqwest
2017-06-09 15:34:07 -07:00
Sean McArthur
eb384612ed
Merge pull request #145 from jaemk/requestbuilder_docs
...
RequestBuilder doc improvements
2017-06-09 14:15:55 -07:00
Sean McArthur
5c9df5f813
Merge pull request #146 from jaemk/doc_tests
...
remove network call from doc test
2017-06-09 14:12:32 -07:00
James Kominick
98c5a02b02
remove network call from doc test
2017-06-09 16:32:12 -04:00
James Kominick
3cbb6cd210
RequestBuilder doc improvements
...
- document `body`, `headers`, `basic_auth` methods
2017-06-09 16:21:01 -04:00