File: util.tld

package info (click to toggle)
lua-http 0.4-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,100 kB
  • sloc: makefile: 60; sh: 16
file content (15 lines) | stat: -rw-r--r-- 664 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
encodeURI: (string) -> (string)
encodeURIComponent: (string) -> (string)
decodeURI: (string) -> (string)
decodeURIComponent: (string) -> (string)
query_args: (string) -> ((any) -> (string, string), any, any)
dict_to_query: ({string:string}) -> (string)
resolve_relative_path: (orig_path, relative_path) -> (string)
is_safe_method: (method) -> (boolean)
is_ip: (string) -> (boolean)
scheme_to_port: {string:integer}
split_authority: (string, string) -> (string, integer)|(nil, string)
to_authority: (string, integer, string|nil) -> (string)
imf_date: (time) -> (string)
maybe_quote: (string) -> (string)
yieldable_pcall: ((any*) -> (any*), any*) -> (boolean, any*)