add 303 status code to redirect policy

This commit is contained in:
Sean McArthur
2016-11-08 13:35:18 -08:00
parent 5739bd3050
commit fb3c229483

View File

@@ -206,7 +206,8 @@ impl<'a> RequestBuilder<'a> {
match res.status {
StatusCode::MovedPermanently |
StatusCode::Found => {
StatusCode::Found |
StatusCode::SeeOther => {
//TODO: turn this into self.redirect_policy.check()
if redirect_count > 10 {