Add depraction warnings for URLencode/decode.
This commit is contained in:
parent
0b229fae77
commit
055ed5149f
1 changed files with 2 additions and 1 deletions
|
|
@ -99,7 +99,8 @@ type
|
||||||
methodPost, ## query uses the POST method
|
methodPost, ## query uses the POST method
|
||||||
methodGet ## query uses the GET method
|
methodGet ## query uses the GET method
|
||||||
|
|
||||||
{.deprecated: [TRequestMethod: RequestMethod, ECgi: CgiError].}
|
{.deprecated: [TRequestMethod: RequestMethod, ECgi: CgiError,
|
||||||
|
URLencode: urlEncode, XMLencode: xmlEncode, URLdecode: urlDecode].}
|
||||||
|
|
||||||
proc cgiError*(msg: string) {.noreturn.} =
|
proc cgiError*(msg: string) {.noreturn.} =
|
||||||
## raises an ECgi exception with message `msg`.
|
## raises an ECgi exception with message `msg`.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue