فهرست منبع

Do not send origin ContentType

Viktor Sokolov 1 ماه پیش
والد
کامیت
c28238cdcf
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  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,
 		po.Filename,
 		resultData.Format().Ext(),
-		originHeaders.Get(httpheaders.ContentType),
+		"",
 		po.ReturnAttachment,
 	)