mirror of
https://github.com/gotenberg/gotenberg.git
synced 2026-08-08 00:22:14 +01:00
accepted request content type are now octet stream and multipart form data
This commit is contained in:
@@ -27,7 +27,7 @@ const (
|
|||||||
type notAuthorizedContentTypeError struct{}
|
type notAuthorizedContentTypeError struct{}
|
||||||
|
|
||||||
func (e *notAuthorizedContentTypeError) Error() string {
|
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.
|
// FindAuthorizedContentType tries to return a content type according to a request header.
|
||||||
|
|||||||
Reference in New Issue
Block a user