Commit Graph

11 Commits

Author SHA1 Message Date
Sean McArthur
8d784faa98 move all configuration from Client to ClientBuilder 2017-05-31 18:14:47 -07:00
Tom Prince
a2c24a4009 Some slightly less trivial rustfmt changes. 2017-05-31 14:50:32 -06:00
Tom Prince
4c60e6d35f Really trivial rustfmt changes. 2017-05-31 14:50:32 -06: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
e00a64aa18 make sensitive header check include port
- adjusts to use &mut Headers
- add integration test
2017-05-18 10:58:41 -07:00
Steve Robinson
21a28dffd1 Filters sensitive headers when redirecting to a Location of different host than of the Referrer
Removes Cookie, Authorization and WWW-Authenticate cookies.

Resolves #10
2017-05-18 10:57:10 -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
Jan-Erik Rediger
8487bf3418 Fix typo in documentation 2016-12-15 09:52:33 +01:00
Sean McArthur
e92b3e862a add support for defining RedirectPolicy for a Client 2016-12-10 11:36:22 -08:00
Sebastian Dröge
d624b0ef29 Implement std::fmt::Debug for all public types 2016-11-14 20:54:18 +02:00
Sean McArthur
1259128d92 add native-tls and serde json support 2016-10-22 21:48:29 -07:00