accepted request content type are now octet stream and multipart form data

This commit is contained in:
Julien Neuhart
2018-04-03 12:01:12 +02:00
parent e23498a619
commit 4381504f95

View File

@@ -27,7 +27,7 @@ const (
type notAuthorizedContentTypeError struct{}
func (e *notAuthorizedContentTypeError) Error() string {
return fmt.Sprintf("Accepted values for 'Content-Type': %s, %s, %s", HTMLContentType, OctetStreamContentType, MultipartFormDataContentType)
return fmt.Sprintf("Accepted values for 'Content-Type': %s, %s", OctetStreamContentType, MultipartFormDataContentType)
}
// FindAuthorizedContentType tries to return a content type according to a request header.