type net/http.ProtocolError
13 uses
net/http (current package)
request.go#L47: type ProtocolError struct {
request.go#L51: func (pe *ProtocolError) Error() string { return pe.ErrorString }
request.go#L54: func (pe *ProtocolError) Is(err error) bool {
request.go#L65: ErrNotSupported = &ProtocolError{"feature not supported"}
request.go#L70: ErrUnexpectedTrailer = &ProtocolError{"trailer header without chunked transfer encoding"}
request.go#L74: ErrMissingBoundary = &ProtocolError{"no multipart boundary param in Content-Type"}
request.go#L78: ErrNotMultipart = &ProtocolError{"request Content-Type isn't multipart/form-data"}
request.go#L83: ErrHeaderTooLong = &ProtocolError{"header too long"}
request.go#L88: ErrShortBody = &ProtocolError{"entity body too short"}
request.go#L93: 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"}