add md5 to http header

This commit is contained in:
XiaoLi
2023-07-23 21:38:56 +08:00
committed by XiaoLi
parent 632d53dbb9
commit 5be125956f
3 changed files with 29 additions and 2 deletions
+13
View File
@@ -0,0 +1,13 @@
--package.path = package.path .. ';<SCRIPT_PATH>/?.lua';
package.path = package.path .. ';/Users/liyong/Code/AlchemyStudio/resty_functions/scripts/?.lua';
ngx.say('UPLOAD COMBINED IMAGE -> start')
local upyun_upload = require("lib.upyun_upload")
ngx.say('UPLOAD COMBINED IMAGE -> upyun_upload loaded')
--local fullpath = "/Users/liyong/Code/AlchemyStudio/resty_functions/test_files_dir/r2d2.jpeg";
local fullpath = "/Users/liyong/Code/AlchemyStudio/resty_functions/test_files_dir/e4938956-954f-4918-be7f-7b10278a9ca4.jpeg";
ngx.say('UPLOAD COMBINED IMAGE -> fullpath -> ', fullpath)
upyun_upload.upload(fullpath, nil)