add 303 status code to redirect policy
This commit is contained in:
@@ -206,7 +206,8 @@ impl<'a> RequestBuilder<'a> {
|
|||||||
|
|
||||||
match res.status {
|
match res.status {
|
||||||
StatusCode::MovedPermanently |
|
StatusCode::MovedPermanently |
|
||||||
StatusCode::Found => {
|
StatusCode::Found |
|
||||||
|
StatusCode::SeeOther => {
|
||||||
|
|
||||||
//TODO: turn this into self.redirect_policy.check()
|
//TODO: turn this into self.redirect_policy.check()
|
||||||
if redirect_count > 10 {
|
if redirect_count > 10 {
|
||||||
|
|||||||
Reference in New Issue
Block a user