File

teal-src/util/interpolation.d.tl @ 11568:d5360307a99d

mod_http_file_share: Handle out of bounds Range request Turns out you can seek past the end of the file without getting an error. Also rejects empty range instead of sending the whole file.
author Kim Alvefur <zash@zash.se>
date Mon, 17 May 2021 14:14:25 +0200
parent 11432:113f3912c7cb
line wrap: on
line source

local type renderer = function (string, { string : any }) : string
local type filter = function (string, any) : string
local record lib
	new : function (string, string, funcs : { string : filter }) : renderer
end
return lib