const net/http.StatusNotFound
37 uses
net/http (current package)
fs.go#L674: return "404 page not found", StatusNotFound
server.go#L2086: func NotFound(w ResponseWriter, r *Request) { Error(w, "404 page not found", StatusNotFound) }
status.go#L40: StatusNotFound = 404 // RFC 7231, 6.5.4
status.go#L109: StatusNotFound: "Not Found",
cloud.google.com/go/compute/metadata
metadata.go#L312: if res.StatusCode == http.StatusNotFound {
cloud.google.com/go/storage
bucket.go#L168: if e, ok := err.(*googleapi.Error); ok && e.Code == http.StatusNotFound {
bucket.go#L1172: if e, ok := err.(*googleapi.Error); ok && e.Code == http.StatusNotFound {
reader.go#L155: if res.StatusCode == http.StatusNotFound {
storage.go#L809: if e, ok := err.(*googleapi.Error); ok && e.Code == http.StatusNotFound {
storage.go#L905: if e, ok := err.(*googleapi.Error); ok && e.Code == http.StatusNotFound {
storage.go#L970: if e.Code == http.StatusNotFound {
github.com/aws/aws-sdk-go/aws/ec2metadata
token_provider.go#L57: case http.StatusForbidden, http.StatusNotFound, http.StatusMethodNotAllowed:
github.com/evanw/esbuild/pkg/api
serve_other.go#L269: go h.notifyRequest(time.Since(start), req, http.StatusNotFound)
serve_other.go#L270: res.WriteHeader(http.StatusNotFound)
github.com/go-git/go-git/v5/plumbing/transport/http
common.go#L265: case http.StatusNotFound:
go.opencensus.io/plugin/ochttp
trace.go#L193: case http.StatusNotFound:
golang.org/x/pkgsite/internal/derrors
derrors.go#L118: {NotFound, http.StatusNotFound},
golang.org/x/pkgsite/internal/frontend
404.go#L32: status: http.StatusNotFound,
404.go#L38: MessageData: struct{ StatusText string }{http.StatusText(http.StatusNotFound)},
404.go#L66: return &serverError{status: http.StatusNotFound}
404.go#L114: if fr.status == http.StatusNotFound && time.Since(fr.updatedAt) > s.taskIDChangeInterval {
404.go#L164: return &serverError{status: http.StatusNotFound}
404.go#L171: status: http.StatusNotFound,
fetch.go#L100: return &serverError{status: http.StatusNotFound}
fetch.go#L163: fr.status = http.StatusNotFound
fetch.go#L257: fr.status = http.StatusNotFound
fetch.go#L278: fr.status = http.StatusNotFound
fetch.go#L315: fr.status = http.StatusNotFound
fetch.go#L323: fr.status = http.StatusNotFound
fetch.go#L413: case http.StatusNotFound,
fetch.go#L457: fr.status = http.StatusNotFound
fetch.go#L472: fr.status = http.StatusNotFound
styleguide.go#L36: return &serverError{status: http.StatusNotFound}
urlinfo.go#L203: return &serverError{status: http.StatusNotFound}
golang.org/x/pkgsite/internal/postgres
versionstate.go#L65: if !(mvs.Status >= http.StatusBadRequest && mvs.Status <= http.StatusNotFound) {
golang.org/x/pkgsite/internal/proxy
client.go#L276: case r.StatusCode == http.StatusNotFound,
google.golang.org/grpc/internal/transport
http_util.go#L92: http.StatusNotFound: codes.Unimplemented,
 |
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. |