type net/http.ProtocolError
9 uses
net/http (current package)
request.go#L44: type ProtocolError struct {
request.go#L48: func (pe *ProtocolError) Error() string { return pe.ErrorString }
request.go#L54: ErrNotSupported = &ProtocolError{"feature not supported"}
request.go#L59: ErrUnexpectedTrailer = &ProtocolError{"trailer header without chunked transfer encoding"}
request.go#L63: ErrMissingBoundary = &ProtocolError{"no multipart boundary param in Content-Type"}
request.go#L67: ErrNotMultipart = &ProtocolError{"request Content-Type isn't multipart/form-data"}
request.go#L72: ErrHeaderTooLong = &ProtocolError{"header too long"}
request.go#L77: ErrShortBody = &ProtocolError{"entity body too short"}
request.go#L82: ErrMissingContentLength = &ProtocolError{"missing ContentLength in HEAD response"}