From 9bbb8d62bf9dffeb02729731ad08e525e49181e1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=98=BF=E7=94=B7?= Date: Sun, 23 Jul 2023 23:29:48 +0800 Subject: [PATCH] try md5 error --- scripts/lib/upyun.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/lib/upyun.lua b/scripts/lib/upyun.lua index 9647e84..aa855b7 100644 --- a/scripts/lib/upyun.lua +++ b/scripts/lib/upyun.lua @@ -410,7 +410,8 @@ local function _parse_upyun_option(option, extra, content) end if omd5 == "true" then - extra["Content-MD5"] = md5(content) + --extra["Content-MD5"] = md5(content) + extra["Content-MD5"] = "xyz" ngx.log(ngx.INFO, "Content-MD5" .. extra["Content-MD5"]) end