mirror of
https://github.com/caddyserver/caddy.git
synced 2025-01-06 02:48:48 +03:00
Replace magic number 308 with http.StatusPermanentRedirect
This commit is contained in:
parent
d8f92baee2
commit
7419573266
1 changed files with 1 additions and 1 deletions
|
@ -165,5 +165,5 @@ var httpRedirs = map[string]int{
|
|||
"304": http.StatusNotModified,
|
||||
"305": http.StatusUseProxy,
|
||||
"307": http.StatusTemporaryRedirect,
|
||||
"308": 308, // Permanent Redirect (RFC 7238)
|
||||
"308": http.StatusPermanentRedirect, // Permanent Redirect (RFC 7238)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue