const net/http.StatusOK
42 uses
net/http (current package)
filetransport.go#L116: pr.WriteHeader(StatusOK)
fs.go#L228: code := StatusOK
server.go#L605: w.WriteHeader(StatusOK) // nr == 0, no error (or EOF)
server.go#L1601: w.WriteHeader(StatusOK)
server.go#L1625: w.WriteHeader(StatusOK)
server.go#L1679: w.WriteHeader(StatusOK)
server.go#L3330: tw.code = StatusOK
server.go#L3374: tw.writeHeaderLocked(StatusOK)
status.go#L15: StatusOK = 200 // RFC 7231, 6.3.1
status.go#L85: StatusOK: "OK",
github.com/evanw/esbuild/pkg/api
serve_other.go#L241: status := http.StatusOK
serve_other.go#L261: go h.notifyRequest(time.Since(start), req, http.StatusOK)
github.com/go-git/go-git/v5/plumbing/transport/http
common.go#L256: if r.StatusCode >= http.StatusOK && r.StatusCode < http.StatusMultipleChoices {
github.com/prometheus/client_golang/prometheus/promhttp
delegator.go#L68: r.WriteHeader(http.StatusOK)
delegator.go#L90: d.WriteHeader(http.StatusOK)
delegator.go#L101: d.WriteHeader(http.StatusOK)
go.opencensus.io/plugin/ochttp
trace.go#L205: case http.StatusOK:
golang.org/x/pkgsite/cmd/prober
main.go#L300: if s.Code != http.StatusOK {
main.go#L371: if res.StatusCode != http.StatusOK {
golang.org/x/pkgsite/devtools/cmd/css
main.go#L48: if resp.StatusCode != http.StatusOK {
golang.org/x/pkgsite/internal/config
config.go#L583: if resp.StatusCode != http.StatusOK {
golang.org/x/pkgsite/internal/derrors
derrors.go#L160: if code == http.StatusOK {
derrors.go#L179: return http.StatusOK
derrors.go#L193: case http.StatusOK:
golang.org/x/pkgsite/internal/fetch
fetch.go#L142: fr.Status = http.StatusOK
fetch.go#L239: if state.Status != http.StatusOK {
fetchlocal.go#L52: fr.Status = http.StatusOK
fetchlocal.go#L119: if state.Status != http.StatusOK {
golang.org/x/pkgsite/internal/frontend
404.go#L95: (vm != nil && vm.Status != http.StatusOK) {
404.go#L247: if vm.Status == http.StatusOK || vm.Status == 290 {
fetch.go#L115: if status != http.StatusOK {
fetch.go#L242: case http.StatusOK:
fetch.go#L481: fr.status = http.StatusOK
fetch.go#L588: return http.StatusOK, nil
golang.org/x/pkgsite/internal/middleware
caching.go#L154: if rec.bufErr == nil && (rec.statusCode == 0 || rec.statusCode == http.StatusOK) {
requestlog.go#L130: return http.StatusOK
stats.go#L104: s.WriteHeader(http.StatusOK)
golang.org/x/pkgsite/internal/postgres
requeue.go#L26: http.StatusOK,
golang.org/x/pkgsite/internal/testing/sample
sample.go#L294: Status: http.StatusOK,
google.golang.org/api/idtoken
cache.go#L55: if resp.StatusCode != http.StatusOK {
google.golang.org/api/internal/gensupport
resumable.go#L146: if res.StatusCode == http.StatusOK {
google.golang.org/grpc
proxy.go#L107: if resp.StatusCode != http.StatusOK {
![]() |
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. |