local function archive(req) local archive = assert(io.open("data/archive.zip","r")) http_response_header(req,"Content-Type","application/zip") http_response_header(req,"Content-Disposition","attachment; filename=\"slash_monster_archive.zip\"") http_response(req,200,archive:read("*a")) end return archive