teal-src/util/http.d.tl
author Matthew Wild <mwild1@gmail.com>
Fri, 04 Nov 2022 12:26:10 +0000
branch0.12
changeset 12796 997f3ca90628
parent 11436 113f3912c7cb
permissions -rw-r--r--
util.json: Accept empty arrays with whitespace (fixes #1782)

local record lib
	urlencode : function (s : string) : string 
	urldecode : function (s : string) : string 
	formencode : function (f : { string : string }) : string 
	formdecode : function (s : string) : { string : string } 
	contains_token : function (field : string, token : string) : boolean 
	normalize_path : function (path : string) : string 
end
return lib