mirror of https://github.com/fafhrd91/actix-web
Oops
This commit is contained in:
parent
ecabeb552f
commit
7793dd7ed0
|
@ -181,7 +181,8 @@ where
|
|||
let method = if is_redirect {
|
||||
method.take().unwrap()
|
||||
} else {
|
||||
match method.take().unwrap() {
|
||||
let method = method.take().unwrap();
|
||||
match method {
|
||||
Method::GET | Method::HEAD => method,
|
||||
_ => Method::GET,
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue