James Kominick
|
98c5a02b02
|
remove network call from doc test
|
2017-06-09 16:32:12 -04:00 |
|
theduke
|
583fceb51f
|
Move try_ macro to error.rs.
Fixes #109.
|
2017-06-07 18:07:22 -07:00 |
|
Sean McArthur
|
00382f8d06
|
use a stale check in the pool
Check that a socket is not EOF to reduce the likelihood of using
a bad pooled connection.
|
2017-06-06 13:31:28 -07:00 |
|
Sean McArthur
|
9c258cc7e9
|
Merge pull request #138 from budziq/error_docs_update
Error docs update
|
2017-06-03 23:21:59 -07:00 |
|
Michal Budzynski
|
026dca2512
|
Added missing "Errors" sections to client.rs and lib.rs
|
2017-06-04 04:48:13 +02:00 |
|
Michal Budzynski
|
40887488cf
|
Exposed RedirectAction and RedirectAttempt
- also added minimal doc to RedirectAttempt to satisfy #![deny(missing_docs)]
- added links to `RedirectPolicy::Custom` docs
|
2017-06-04 03:21:50 +02:00 |
|
Alisha
|
31da9da392
|
? instead of unwrap in example
|
2017-06-03 04:47:31 +10:00 |
|
Sean McArthur
|
7fc47fb908
|
remove all public mention of HttpVersion
Closes #123
|
2017-06-01 17:02:59 -07:00 |
|
Sean McArthur
|
e176dcebca
|
convert RequestBuilder to a &mut Self builder
Closes #108
|
2017-06-01 16:23:16 -07:00 |
|
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 |
|