fix typo
This commit is contained in:
parent
8604ce94ff
commit
d6dafa5ab6
1 changed files with 1 additions and 1 deletions
|
|
@ -149,7 +149,7 @@ func (rs *Response) Redirect(url string, use303 ...bool) *Response {
|
||||||
})
|
})
|
||||||
|
|
||||||
if len(use303) > 0 && use303[0] {
|
if len(use303) > 0 && use303[0] {
|
||||||
rvi res= http.StatusSeeOther // 303
|
rs= http.StatusSeeOther // 303
|
||||||
} else {
|
} else {
|
||||||
rs.redirectStatusCode = http.StatusTemporaryRedirect // 307 (default)
|
rs.redirectStatusCode = http.StatusTemporaryRedirect // 307 (default)
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue