From 4381504f95a7377d0b663d3323e6df44bd0b359d Mon Sep 17 00:00:00 2001 From: Julien Neuhart Date: Tue, 3 Apr 2018 12:01:12 +0200 Subject: [PATCH] accepted request content type are now octet stream and multipart form data --- app/handlers/http/http.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/handlers/http/http.go b/app/handlers/http/http.go index 87cf145a..6775c94d 100644 --- a/app/handlers/http/http.go +++ b/app/handlers/http/http.go @@ -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.