File

teal-src/util/jid.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 record lib
	split : function (string) : string, string, string
	bare : function (string) : string
	prepped_split : function (string, boolean) : string, string, string
	join : function (string, string, string) : string
	prep : function (string, boolean) : string
	compare : function (string, string) : boolean
	node : function (string) : string
	host : function (string) : string
	resource : function (string) : string
	escape : function (string) : string
	unescape : function (string) : string
end

return lib