Commit Graph

766 Commits

Author SHA1 Message Date
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
Sean McArthur
fff08ff95c integration test for multipart 2017-08-21 14:19:13 -07:00
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