Sean McArthur
21e050dedf
Merge pull request #163 from e00E/printfix
...
Remove leftover debug prints
2017-07-13 08:57:36 -07:00
e00E
68c7e1dc5c
Remove leftover debug prints
2017-07-13 12:59:59 +02:00
Sean McArthur
f5ce7d8127
v0.7.0
2017-07-11 12:41:29 -07:00
Sean McArthur
276f177d99
Merge pull request #159 from KodrAus/feat/async-body-conversions
...
From impls for Body
2017-07-07 08:19:53 -07:00
Ashley Mannix
381d10f80b
From impls for Body
2017-07-07 16:20:41 +10:00
Sean McArthur
f4f3c3e173
use proxy port as a u16 instead of String
2017-07-04 11:55:26 -07:00
Sean McArthur
b593336dc6
Merge pull request #157 from bhendo/master
...
Complete CONNECT requests for HTTPS through proxies
2017-07-03 19:22:21 -07:00
Brian Henderson
17c0b200cc
do not set_proxy() for https requests
2017-07-03 21:07:44 -04:00
Brian Henderson
f9f27f9c66
format connect request with host:port and connect on http/1.0 responses
2017-07-03 21:06:33 -04:00
Brian Henderson
778bf92f4e
Merge pull request #1 from seanmonstar/master
...
connect TLS aftet tunneling to a proxy
2017-07-03 20:45:53 -04:00
Sean McArthur
17c0739fcc
connect TLS aftet tunneling to a proxy
2017-06-30 18:28:52 -07:00
Sean McArthur
e5753a5eb4
remove hyper::Error::Ssl
2017-06-28 11:09:40 -07:00
Sean McArthur
1785e0dc5d
Disable hostname verification when option is enabled
...
Closes #153
2017-06-28 11:03:28 -07:00
Sean McArthur
478309e03f
Merge pull request #152 from seanmonstar/proxy
...
add a `Proxy` type
2017-06-22 11:40:56 -07:00
Tom Prince
855e6615eb
Add error_for_status.
...
This makes it it easy to turn error responses into error
results.
2017-06-22 11:03:39 -07:00
Sean McArthur
6cdaff4b66
add a Proxy type
...
Proxies can currently be configured to intercept HTTP, HTTPS, and all
requests. HTTPS tunneling is supported.
Closes #30
2017-06-22 09:49:00 -07:00
Sean McArthur
a25b9a6002
Merge pull request #151 from seanmonstar/async
...
upgrade hyper to v0.11
2017-06-21 10:50:15 -07:00
Sean McArthur
665b4fe718
upgrade hyper to v0.11
2017-06-21 09:47:21 -07:00
Sean McArthur
8633060eaf
error docs touchups
2017-06-11 11:03:15 -07:00
Andrew Gauger
c8d03dd8b9
Examples for Error Documentation ( #144 )
2017-06-11 09:55:12 -07:00
Sean McArthur
0759f43ecb
change error.cause() to return error.get_ref().cause()
...
Also note, this has a functional breaking change:
IO, URL, and TLS errors reported by hyper are promoted internally.
That means you shouldn't downcast `get_ref` to a `hyper::Error` to
look for those errors.
Closes #140
2017-06-09 17:49:10 -07:00
Sean McArthur
64c672a8cd
prevent rustfmt from ever formatting reqwest
2017-06-09 15:34:07 -07:00
Sean McArthur
eb384612ed
Merge pull request #145 from jaemk/requestbuilder_docs
...
RequestBuilder doc improvements
2017-06-09 14:15:55 -07:00
Sean McArthur
5c9df5f813
Merge pull request #146 from jaemk/doc_tests
...
remove network call from doc test
2017-06-09 14:12:32 -07:00
James Kominick
98c5a02b02
remove network call from doc test
2017-06-09 16:32:12 -04:00
James Kominick
3cbb6cd210
RequestBuilder doc improvements
...
- document `body`, `headers`, `basic_auth` methods
2017-06-09 16:21:01 -04:00
Sean McArthur
f27330ebcc
Merge pull request #141 from jaemk/response_doc
...
Response doc improvements
2017-06-09 10:25:25 -07:00
James Kominick
3de6f24785
Response doc improvements
...
- Add doc examples for the usage of `Response`s `url`, `status`,
and `headers` methods
2017-06-08 23:28:35 -04:00
Sean McArthur
c6b846a629
Merge pull request #142 from jaemk/test_fixes
...
fix client tests
2017-06-08 20:15:57 -07:00
James Kominick
df276b2913
fix client tests
...
- `Response` `status` now returns StatusCode by value
2017-06-08 22:24:50 -04:00
Sean McArthur
cb9a45b8a4
change Response::status() to return StatusCode by value
2017-06-07 18:11:05 -07:00
theduke
583fceb51f
Move try_ macro to error.rs.
...
Fixes #109 .
2017-06-07 18:07:22 -07:00
Sean McArthur
e45f234b4a
fix socket_is_dead on windows
2017-06-07 17:02:15 -07:00
Sean McArthur
006368f77c
Merge pull request #139 from jaemk/docs
...
Body constructor doc examples
2017-06-06 14:14:57 -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
James Kominick
ccd2853451
Body constructor doc examples
...
- Use a file & filesize in `Body::sized` example
- Point out the available `From` impls on `Body` for constructing
reusable `Body`s
2017-06-06 10:27:29 -04:00
James Kominick
c1e422ee03
Body constructor doc examples
...
- Add doc examples for `Body` constructors
2017-06-05 23:25:21 -04:00
Sean McArthur
9c258cc7e9
Merge pull request #138 from budziq/error_docs_update
...
Error docs update
2017-06-03 23:21:59 -07:00
Sean McArthur
82979792bd
Merge pull request #137 from budziq/redirect_pub
...
Exposed RedirectAction and RedirectAttempt
2017-06-03 23:01:48 -07:00
Michal Budzynski
e3bf6756f4
Added missing "Errors" and "Panics" sections to request.rs and response.rs
2017-06-04 04:49:33 +02: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
Sean McArthur
e8eb341e17
Merge pull request #135 from alisha17/error_handling
...
Use realistic error handling in example code
2017-06-02 12:25:24 -07:00
Alisha
31da9da392
? instead of unwrap in example
2017-06-03 04:47:31 +10:00
Sean McArthur
1eb05958e8
fix test that referenced HttpVersion
2017-06-01 17:12:39 -07: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
Sean McArthur
546880cea9
Merge pull request #131 from tomprince/hide-internal-conversions
...
Hide internal conversions to `reqwest::Error`.
2017-06-01 15:55:07 -07:00
Sean McArthur
8c2d26759e
Merge pull request #133 from budziq/html_root_url
...
Point html_root_url to docs.rs
2017-06-01 15:54:27 -07:00
Tom Prince
83c71d4465
Hide internal conversions to reqwest::Error.
2017-06-01 14:10:59 -06:00