Jake Goulding
88218f893e
Remove duplicate "advance"
...
Also removed some excessive commas
2018-01-07 12:36:22 -05:00
Sean McArthur
dcf70f3f4e
use Body inside multipart Parts
2017-08-21 14:18:52 -07:00
Sean McArthur
fb4dd2e0b3
improve docs around Body type
2017-07-13 12:17:38 -07:00
e00E
68c7e1dc5c
Remove leftover debug prints
2017-07-13 12:59:59 +02:00
Sean McArthur
665b4fe718
upgrade hyper to v0.11
2017-06-21 09:47:21 -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
Tom Prince
25d16f53d5
Some final rustfmt changes.
2017-05-31 14:50:32 -06:00
Sean McArthur
b5475f6903
tidy up some clippy warnings
2017-05-05 14:13:54 -07:00
Eric Kidd
82f1877d4b
Implement Body::sized
...
This is necessary for APIs such as BigML's, where we may need to send
extremely large request bodies, but chunked transfer encoding is not
supported.
This is a partial fix for seanmonstar/reqwest#49 .
2017-02-17 07:04:10 -05:00
Sean McArthur
d18a53b3fc
make Client: Send + Sync, RequestBuilder: Send, Response: Send
2016-12-02 15:36:33 -08:00
Sean McArthur
dbfaf9c842
add a note to about redirects
2016-11-29 10:14:21 -08:00
Sean McArthur
3544e48e8e
dont try to redirect if post body cannot be reset
2016-11-28 11:36:42 -08:00
Sean McArthur
a580af2a22
move Read impl of Body to private function
2016-11-21 11:47:07 -08:00
Michael Bryan
59ba7cf23b
test: Fixed up issue with reading a Body and finished RequestBuilder tests
2016-11-21 11:45:05 +08:00
Sebastian Dröge
d624b0ef29
Implement std::fmt::Debug for all public types
2016-11-14 20:54:18 +02:00
Anthony Nowell
45d6169610
Body conversion for File
2016-11-08 01:14:18 -07:00
Anthony Nowell
7109126e40
Export Body and RequestBuilder for client wrappers
2016-10-29 22:40:42 -06:00
Sean McArthur
1259128d92
add native-tls and serde json support
2016-10-22 21:48:29 -07:00
Sean McArthur
d78eff6918
improvements
2016-10-16 09:40:28 -07:00