net/http.Response.StatusCode (field)

23 uses

	net/http (current package)
		client.go#L515: 	switch resp.StatusCode {
		filetransport.go#L130: 	pr.res.StatusCode = code
		http2.go#L339: 	resp.StatusCode = cresp.StatusCode
		response.go#L38: 	StatusCode int    // e.g. 200
		response.go#L183: 	resp.StatusCode, err = strconv.Atoi(statusCode)
		response.go#L184: 	if err != nil || resp.StatusCode < 0 {
		response.go#L253: 		text = StatusText(r.StatusCode)
		response.go#L255: 			text = "status code " + strconv.Itoa(r.StatusCode)
		response.go#L260: 		text = strings.TrimPrefix(text, strconv.Itoa(r.StatusCode)+" ")
		response.go#L263: 	if _, err := fmt.Fprintf(w, "HTTP/%d.%d %03d %s\r\n", r.ProtoMajor, r.ProtoMinor, r.StatusCode, text); err != nil {
		response.go#L319: 	if r1.ContentLength == 0 && !chunked(r1.TransferEncoding) && !contentLengthAlreadySent && bodyAllowedForStatus(r.StatusCode) {
		response.go#L361: 	return isProtocolSwitchResponse(r.StatusCode, r.Header)
		transfer.go#L507: 		t.StatusCode = rr.StatusCode
		transport.go#L2036: 		if resp.StatusCode != 200 {
		transport.go#L2536: 		if resp.Close || rc.treq.Request.Close || resp.StatusCode <= 199 || bodyWritable || isConnect {
		transport.go#L2703: 		resCode := resp.StatusCode

	net/http/httputil
		reverseproxy.go#L576: 	if res.StatusCode == http.StatusSwitchingProtocols {
		reverseproxy.go#L603: 	rw.WriteHeader(res.StatusCode)

	go.pact.im/x/httprange
		metadata.go#L97: 	if resp.StatusCode/100 != 2 {
		metadata.go#L100: 			StatusCode: resp.StatusCode,
		ranger.go#L113: 	switch resp.StatusCode {
		ranger.go#L131: 			StatusCode: resp.StatusCode,

	google.golang.org/grpc/internal/transport
		proxy.go#L84: 	if resp.StatusCode != http.StatusOK {