func net/http.badStringError
12 uses
net/http (current package)
request.go#L85: func badStringError(what, val string) error { return fmt.Errorf("%s %q", what, val) }
request.go#L1040: return nil, badStringError("malformed HTTP request", s)
request.go#L1043: return nil, badStringError("invalid method", req.Method)
request.go#L1047: return nil, badStringError("malformed HTTP version", req.Proto)
response.go#L169: return nil, badStringError("malformed HTTP response", line)
response.go#L179: return nil, badStringError("malformed HTTP status code", statusCode)
response.go#L183: return nil, badStringError("malformed HTTP status code", statusCode)
response.go#L187: return nil, badStringError("malformed HTTP version", resp.Proto)
transfer.go#L312: return badStringError("invalid Trailer key", k)
transfer.go#L789: err = badStringError("bad trailer key", key)
transfer.go#L1053: return 0, badStringError("bad Content-Length", cl)
transport.go#L548: return nil, badStringError("unsupported protocol scheme", scheme)
 |
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. |