const net/http.StatusMovedPermanently
12 uses
net/http (current package)
fs.go#L690: w.WriteHeader(StatusMovedPermanently)
server.go#L2391: return RedirectHandler(u.String(), StatusMovedPermanently), u.Path
server.go#L2405: return RedirectHandler(u.String(), StatusMovedPermanently), u.Path
server.go#L2412: return RedirectHandler(url.String(), StatusMovedPermanently), pattern
status.go#L27: StatusMovedPermanently = 301 // RFC 7231, 6.4.2
status.go#L97: StatusMovedPermanently: "Moved Permanently",
golang.org/x/pkgsite/internal/frontend
details.go#L39: http.Redirect(w, r, "/std", http.StatusMovedPermanently)
details.go#L42: http.Redirect(w, r, urlPath, http.StatusMovedPermanently)
details.go#L46: http.Redirect(w, r, strings.TrimSuffix(r.URL.Path, "/"), http.StatusMovedPermanently)
redirect.go#L20: http.Redirect(w, r, urlPath, http.StatusMovedPermanently)
redirect.go#L26: http.Redirect(w, r, urlPath, http.StatusMovedPermanently)
server.go#L153: http.Redirect(w, r, "/cmd/cgo", http.StatusMovedPermanently)
 |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |