Software /
code /
prosody
File
teal-src/util/http.d.tl @ 12701:8e402a2ae1b8
util.jwt: Overhaul of tests to use declarative approach
Now we can consistently apply the same tests to every algorithm, instead of
duplicating code.
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Sat, 02 Jul 2022 14:22:20 +0100 |
parent | 11432:113f3912c7cb |
line wrap: on
line source
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