Commit Graph

646 Commits

Author SHA1 Message Date
Sean McArthur
a4f5c2d3f0 v0.8.6 2018-05-31 12:08:07 -07:00
Sean McArthur
cf5deac02d document that Response::text consumes the body
Closes #302
2018-05-31 12:02:06 -07:00
Sean McArthur
c5e1e0eddd remove note about using ? since it can be used in main now 2018-05-31 11:57:42 -07:00
Mattias Päivärinta
31504388d7 Add status code accessor to RedirectAttempt (#285) 2018-04-15 15:11:50 -07:00
Mattias Päivärinta
c00950085c Make RedirectPolicy::redirect() public (#282) 2018-04-04 19:07:13 -07:00
Selwyn
26e202a0de Add code example structure explanation (#280)
Clarify code example structure in combination with the `?` operator. Add
as separate section so it can be easily removed when `?` can be used
inside of `main`.

Closes #275
2018-04-03 11:31:15 -07:00
Konrad Borowski
e3f468b8a9 Disable Travis build cache (#259)
As Cargo doesn't remove old build artifacts, a build cache means a lot
of time is spent downloading constantly increasing in size build
artifacts, especially for nightly releases.
2018-02-17 09:23:56 -08:00
Sean McArthur
aed318cb75 v0.8.5 2018-02-15 12:20:49 -08: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
messense
0203fad886 Detect encoding in Response::text() (#256)
* Detect encoding and decode text response

Fixes #246

* Try to get encoding from Content-Type header

* Remove uchardet encoding detection for now

* Add non utf-8 test case for Response::text()

* Reduce copies
2018-02-15 11:01:57 -08:00
András Eisenberger
de402ceac6 Minor documentation fix 2018-02-06 20:55:08 +01:00
Yu Xin
c2d14e8360 Merge branch 'master' into cert_pem 2018-02-02 09:58:50 +08:00
Xin Yu
1b55d8b08a read certificate from PEM buffer. 2018-02-02 09:55:40 +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
c06d3d4028 Merge tag 'v0.8.4' 2018-01-22 09:44:23 -08:00
Sean McArthur
7412932e47 v0.8.4 2018-01-22 09:40:13 -08:00
Simon Bernier St-Pierre
8554a6335d add query string support to RequestBuilder 2018-01-22 09:38:18 -08:00
Sean McArthur
92a466126d v0.8.3 2018-01-19 17:55:15 -08:00
Sean McArthur
911ddd9f1e v0.8.3 2018-01-19 17:48:49 -08:00
Sean McArthur
3128a370db remove deprecated no_proto usage of hyper 2018-01-19 17:39:03 -08:00
Simon Bernier St-Pierre
f180a64551 add query string support to RequestBuilder 2018-01-09 18:48:49 -05:00
Jake Goulding
88218f893e Remove duplicate "advance"
Also removed some excessive commas
2018-01-07 12:36:22 -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
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
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
knight42
2c60511bce fix(response): copy_to() and text() return reqwest::Result 2017-10-27 15:10:31 +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
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
knight42
c0896f1986 Add Response::copy_to 2017-10-18 09:21:36 +08: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
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
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
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
779f8080ef change Builders to only error at the end
Closes #189
2017-08-31 18:10:45 -07:00
Sean McArthur
cf133f7919 change default Client timeout to 30 seconds
Closes #181
2017-08-30 14:18:21 -07:00