net/http.transferReader.StatusCode (field)
6 uses
net/http (current package)
transfer.go#L435: StatusCode int
transfer.go#L490: t.StatusCode = rr.StatusCode
transfer.go#L505: t.StatusCode = 200
transfer.go#L521: realLength, err := fixLength(isResponse, t.StatusCode, t.RequestMethod, t.Header, t.Chunked)
transfer.go#L546: if realLength == -1 && !t.Chunked && bodyAllowedForStatus(t.StatusCode) {
transfer.go#L556: if noResponseBodyExpected(t.RequestMethod) || !bodyAllowedForStatus(t.StatusCode) {
![]() |
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. |