Commit Graph

27 Commits

Author SHA1 Message Date
Michal Budzynski
0ffeb074b6 Point html_root_url to docs.rs 2017-06-01 09:50:19 +02:00
Corentin Henry
2f1b3b352b handle json serialization errors
fixes https://github.com/seanmonstar/reqwest/issues/112
2017-05-31 16:41:45 -07:00
Tom Prince
4c60e6d35f Really trivial rustfmt changes. 2017-05-31 14:50:32 -06:00
Corentin Henry
4b2eda7d29 add custom certificates & disabling hostname verif 2017-05-31 11:38:02 -07:00
James Kominick
812c220e61 update doc examples
- Make examples runnable for doc tests
- Add error handling using `?` instead of `unwrap`
2017-05-21 17:14:32 -04:00
Sean McArthur
57359a6e2f remove unintended export of private try_ macro 2017-05-18 09:22:00 -07:00
Sean McArthur
d514d4e6e8 redirect and error reform
- `Error` has been made an opaque struct.
- `RedirectPolicy` now makes use of `RedirectAttempt` and `RedirectAction`.
2017-05-08 11:38:48 -07:00
Sean McArthur
4d68979523 move Response pieces into its own response module 2017-04-05 16:48:32 -07:00
Sean McArthur
517e8f0aa5 implement Clone for Client 2017-04-05 11:22:19 -07:00
Jason Schein
ab5e477a12 Add (configurable) automatic gzip decompression. 2017-02-26 20:08:55 -08:00
Sean McArthur
69cdfcb763 Merge pull request #46 from sebasgarcep/master
Re-export Mime
2017-02-02 11:29:49 -08:00
Brandon W Maister
c5e955b681 Add some examples of reading the content of a Response, and a paragraph about Read 2017-02-02 11:29:37 -08:00
Steven Fackler
fa4df2037a Use external hyper-native-tls crate 2017-01-21 12:50:54 +00:00
Sebastian Garrido
0615c6d65e Re-export Mime 2017-01-14 11:54:31 -05:00
Saghm Rossi
b058a5d235 export hyper::Error for use in custom types implementing Header 2017-01-02 16:12:20 -05:00
Sean McArthur
7c2e163333 remove (todo redirect policy) from docs 2016-12-12 10:36:20 -08:00
Sean McArthur
e92b3e862a add support for defining RedirectPolicy for a Client 2016-12-10 11:36:22 -08:00
Sean McArthur
d18a53b3fc make Client: Send + Sync, RequestBuilder: Send, Response: Send 2016-12-02 15:36:33 -08:00
Sean McArthur
4f9e39829c a few fixes 2016-11-08 18:56:49 -08:00
Sean McArthur
5739bd3050 Merge branch 'form' 2016-11-08 13:33:26 -08:00
Sean McArthur
06f94f4744 add form() method 2016-11-08 13:33:08 -08:00
Anthony Nowell
7109126e40 Export Body and RequestBuilder for client wrappers 2016-10-29 22:40:42 -06:00
Sean McArthur
5479d9e8b8 handle redirects 2016-10-25 12:26:01 -07:00
Sean McArthur
1259128d92 add native-tls and serde json support 2016-10-22 21:48:29 -07:00
Sean McArthur
15e59c1c6d use current hyper for now 2016-10-16 10:26:04 -07:00
Sean McArthur
d78eff6918 improvements 2016-10-16 09:40:28 -07:00
Sean McArthur
9bfdcec052 init 2016-06-30 17:23:51 -07:00