Commit 74195732 authored by James Raspass's avatar James Raspass Committed by GitHub

Replace magic number 308 with http.StatusPermanentRedirect

parent d8f92bae
......@@ -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