Commit Graph

484 Commits

Author SHA1 Message Date
Johann Tuffe
fa0debd128 add back Proxy::Clone 2017-12-29 10:24:11 +08:00
Johann Tuffe
4101c78a1f use hyper-proxy 0.4.0 which allows multiple proxies 2017-12-21 15:40:36 +08:00
Sean McArthur
abfcd2796e v0.8.2 2017-12-19 13:30:06 -08:00
Johann Tuffe
871b8076e4 add proxy authorization 2017-12-19 15:44:06 +08:00
Johann Tuffe
2f403175dc uses hyper-proxy 0.3.0 2017-12-19 15:23:39 +08:00
Sean McArthur
419023219d bump CI minimum version to 1.18 (libflate requires it) 2017-12-18 18:37:56 -08:00
Sean McArthur
f73f2216ba setup minimum rust version (1.17?) in CI 2017-12-18 18:20:51 -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
Sean McArthur
9cc02ab007 update docs around ::get() and Response::text()
Closes #227
2017-12-13 17:16:22 -08:00
Sean McArthur
e87a3ec476 v0.8.1 2017-11-06 19:04:19 -08:00
Sean McArthur
0782a7ecc3 Merge pull request #219 from knight42/response-text
Add Response::text()
2017-10-30 12:23:59 -07:00
knight42
2c60511bce fix(response): copy_to() and text() return reqwest::Result 2017-10-27 15:10:31 +08:00
knight42
33c7ce4ce2 test: Response::text() 2017-10-27 14:58:16 +08:00
knight42
2fbc20167d feat: add Response::text() 2017-10-27 14:58:16 +08:00
Sean McArthur
9631b31bfc adjust proxy doc example 2017-10-26 15:31:06 -07:00
Sean McArthur
e60fd533f6 Merge pull request #218 from knight42/default-headers
Setting default headers
2017-10-26 14:22:29 -07:00
Sean McArthur
5993aa84cc add logs for flaky multipart test 2017-10-26 14:05:33 -07:00
knight42
3bc907f7de chore: update gitignore 2017-10-22 13:27:20 +08:00
knight42
07d6bca08f fix: tests::support::server
If the length of expected header is accidentally larger than the length
of the actual header, `socket.read()` will keep pulling bytes from the
socket which could no longer produce any, hence the later calls of
`socket.read` will return a `WouldBlock` Error.
2017-10-22 13:27:20 +08:00
knight42
2bd558d8c7 test: add tests for setting default headers 2017-10-22 13:06:05 +08:00
knight42
f4437ea7b1 feat: set default headers 2017-10-22 13:01:35 +08:00
Sean McArthur
99e7f7a1b0 Merge pull request #217 from Henning-K/patch-1
Small yet annoying typo fixed.
2017-10-20 17:35:36 -07:00
Henning Kowalk
9d158e69f8 Small yet annoying typo fixed. 2017-10-21 01:21:57 +02:00
Sean McArthur
c8680acdd6 Merge pull request #211 from knight42/copy_to
Add Response::copy_to
2017-10-18 16:09:38 -07:00
knight42
f5b4dd4123 test: use verbose output 2017-10-18 14:07:22 +08:00
knight42
c3d2a062fc Add test for Response::copy_to 2017-10-18 09:22:09 +08:00
knight42
c0896f1986 Add Response::copy_to 2017-10-18 09:21:36 +08:00
Sean McArthur
648c681072 Merge pull request #209 from osa1/dns_threads_config
Implement option to set num of DNS threads in async ClientBuilder
2017-10-09 12:56:44 -07: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
Sean McArthur
01e0a144e9 Merge pull request #208 from marmistrz/doc-cookie
Document cookie status
2017-10-05 13:29:07 -07:00
Marcin Mielniczuk
3a501ff774 Document cookie status 2017-10-05 21:57:28 +02:00
Sean McArthur
6ab3923f1e v0.8.0 2017-10-02 12:27:41 -07:00
Sean McArthur
a646bb56de Merge pull request #203 from kamalmarhubi/master
async: Add conversions from static slices to Body
2017-09-21 10:56:58 -07: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
Sean McArthur
a7c4a42caa Merge pull request #204 from chrisvittal/into_body
Add into_body to async_impl::response::Response
2017-09-20 10:51:50 -07:00
Christopher Vittal
8aaff6c326 Add into_body to async_impl::response::Response
Closes #200
2017-09-20 03:21:24 -04:00
Sean McArthur
30f6b8797d Merge pull request #202 from hoodie/master
fix doc link to RequestBuilder
2017-09-13 15:04:49 -07:00
Hendrik Sollich
3289881691 fix doc link to RequestBuilder 2017-09-13 23:50:43 +02:00
Sean McArthur
390fc34148 wip 2017-09-04 13:11:20 -07:00
Sean McArthur
25a3307996 Merge pull request #196 from seanmonstar/un-error-the-builders
change Builders to only error at the end
2017-09-04 13:01:58 -07:00
Sean McArthur
779f8080ef change Builders to only error at the end
Closes #189
2017-08-31 18:10:45 -07:00
Sean McArthur
a02b388b2b Merge pull request #195 from seanmonstar/default-timeout
change default Client timeout to 30 seconds
2017-08-30 16:24:41 -07:00
Sean McArthur
cf133f7919 change default Client timeout to 30 seconds
Closes #181
2017-08-30 14:18:21 -07:00
Sean McArthur
d711387222 Merge pull request #192 from seanmonstar/client-cert
Add client certificate support
2017-08-30 14:17:38 -07:00
Anthony Nowell
646c8b8efc Support PKCS12 identity on the ClientBuilder 2017-08-25 15:38:45 -07:00
Sean McArthur
768a72fb92 add changelog file 2017-08-25 13:52:40 -07:00
Sean McArthur
dc44e742a0 fix deprecated UnboundedSender::send() to unbounded_send() 2017-08-24 15:23:14 -07:00
Sean McArthur
f11a0f5f5b Merge pull request #190 from seanmonstar/multipart
Multipart support
2017-08-22 13:02:14 -07:00