type net/http.ProtocolError
12 uses
net/http (current package)
request.go#L45: type ProtocolError struct {
request.go#L49: func (pe *ProtocolError) Error() string { return pe.ErrorString }
request.go#L55: ErrNotSupported = &ProtocolError{"feature not supported"}
request.go#L60: ErrUnexpectedTrailer = &ProtocolError{"trailer header without chunked transfer encoding"}
request.go#L64: ErrMissingBoundary = &ProtocolError{"no multipart boundary param in Content-Type"}
request.go#L68: ErrNotMultipart = &ProtocolError{"request Content-Type isn't multipart/form-data"}
request.go#L73: ErrHeaderTooLong = &ProtocolError{"header too long"}
request.go#L78: ErrShortBody = &ProtocolError{"entity body too short"}
request.go#L83: 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"}