Commit cdb79a60 authored by Matt Holt's avatar Matt Holt Committed by GitHub

Merge pull request #1410 from JRaspass/patch-1

Replace magic number 308 with http.StatusPermanentRedirect
parents d8f92bae 74195732
......@@ -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)
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment