Add depraction warnings for URLencode/decode.

This commit is contained in:
Dominik Picheta 2014-09-10 00:42:40 +01:00
commit 055ed5149f

View file

@ -99,7 +99,8 @@ type
methodPost, ## query uses the POST 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.} =
## raises an ECgi exception with message `msg`.