type net/http.ProtocolError
13 uses
net/http (current package)
request.go#L48: type ProtocolError struct {
request.go#L52: func (pe *ProtocolError) Error() string { return pe.ErrorString }
request.go#L55: func (pe *ProtocolError) Is(err error) bool {
request.go#L66: ErrNotSupported = &ProtocolError{"feature not supported"}
request.go#L71: ErrUnexpectedTrailer = &ProtocolError{"trailer header without chunked transfer encoding"}
request.go#L75: ErrMissingBoundary = &ProtocolError{"no multipart boundary param in Content-Type"}
request.go#L79: ErrNotMultipart = &ProtocolError{"request Content-Type isn't multipart/form-data"}
request.go#L84: ErrHeaderTooLong = &ProtocolError{"header too long"}
request.go#L89: ErrShortBody = &ProtocolError{"entity body too short"}
request.go#L94: ErrMissingContentLength = &ProtocolError{"missing ContentLength in HEAD response"}
net/http/httputil
persist.go#L19: ErrPersistEOF = &http.ProtocolError{ErrorString: "persistent connection closed"}
persist.go#L22: ErrClosed = &http.ProtocolError{ErrorString: "connection closed by user"}
persist.go#L25: ErrPipeline = &http.ProtocolError{ErrorString: "pipeline error"}