net/http.response.status (field)
7 uses
net/http (current package)
server.go#L450: status int // status code passed to WriteHeader
server.go#L1148: w.status = code
server.go#L1291: if w.handlerDone.isSet() && !trailers && !hasTE && bodyAllowedForStatus(w.status) && header.get("Content-Length") == "" && (!isHEAD || len(p) > 0) {
server.go#L1308: if w.wants10KeepAlive && (isHEAD || hasCL || !bodyAllowedForStatus(w.status)) {
server.go#L1399: code := w.status
server.go#L1476: !isProtocolSwitchResponse(w.status, header)
server.go#L1535: return bodyAllowedForStatus(w.status)
 |
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. |