comparison plugins/mod_http_file_share.lua @ 13176:0d1cd3185299

mod_http_file_share: Put 'expires' back, thought it was unused Removed in 536055476912 because it was not used anywhere else in the file, but per the documentation it is meant to inform external upload services of the expiry time of the upload itself.
author Kim Alvefur <zash@zash.se>
date Sun, 02 Jul 2023 14:31:00 +0200
parents 536055476912
children c8d949cf6b09
comparison
equal deleted inserted replaced
13175:bbdaa770b955 13176:0d1cd3185299
180 -- token properties 180 -- token properties
181 sub = uploader; 181 sub = uploader;
182 182
183 -- slot properties 183 -- slot properties
184 slot = slot; 184 slot = slot;
185 expires = expiry >= 0 and (os.time()+expiry) or nil;
185 -- file properties 186 -- file properties
186 filename = filename; 187 filename = filename;
187 filesize = filesize; 188 filesize = filesize;
188 filetype = filetype; 189 filetype = filetype;
189 }); 190 });