decode Multipart data
All checks were successful
gitea-sync/silk/pipeline/head This commit looks good

This commit is contained in:
DanyLE 2023-01-28 04:00:19 +01:00
parent de2ede07e2
commit 6cd7406a6a

View File

@ -199,6 +199,15 @@ if HEADER["Cookie"] then
end end
end end
-- multipart request
REQUEST.multipart = {}
for key,val in pairs(_SERVER) do
local s,e,v = key:find("MULTIPART%[(.*)%]")
if s then
REQUEST.multipart[v] = val
end
end
local code, error = decode_request_data() local code, error = decode_request_data()
if code ~= 0 then if code ~= 0 then