mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
@ -64,8 +64,7 @@ pub fn (req &Request) do() ?Response {
|
||||
qresp := req.method_and_url_to_response(req.method, rurl) ?
|
||||
resp = qresp
|
||||
if resp.status() !in [.moved_permanently, .found, .see_other, .temporary_redirect,
|
||||
.permanent_redirect,
|
||||
] {
|
||||
.permanent_redirect] {
|
||||
break
|
||||
}
|
||||
// follow any redirects
|
||||
|
Reference in New Issue
Block a user