Browse Source

Do not send origin ContentType

Viktor Sokolov 1 month ago
parent
commit
c28238cdcf
1 changed files with 1 additions and 1 deletions
  1. 1 1
      processing_handler.go

+ 1 - 1
processing_handler.go

@@ -162,7 +162,7 @@ func respondWithImage(reqID string, r *http.Request, rw http.ResponseWriter, sta
 		originURL,
 		originURL,
 		po.Filename,
 		po.Filename,
 		resultData.Format().Ext(),
 		resultData.Format().Ext(),
-		originHeaders.Get(httpheaders.ContentType),
+		"",
 		po.ReturnAttachment,
 		po.ReturnAttachment,
 	)
 	)