瀏覽代碼

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,
 	)