original commit: b8579d5187ee0e3bcd0b0381716777585012dee7
This commit is contained in:
Robby Findler 2004-12-18 02:34:23 +00:00
parent 79ae709d16
commit c409780dd7

View File

@ -9,7 +9,8 @@
(require (lib "url.ss" "net")
(lib "uri-codec.ss" "net"))
(test "" uri-decode "%Pq")
(test "%Pq" uri-decode "%Pq")
(test "%P" uri-decode "%P")
(test "a=hel%2blo+%e7%88%b8" alist->form-urlencoded '((a . "hel+lo \u7238")))
(test '((a . "hel+lo \u7238")) form-urlencoded->alist (alist->form-urlencoded '((a . "hel+lo \u7238"))))
(test "a=hel%2blo;b=good-bye" alist->form-urlencoded '((a . "hel+lo") (b . "good-bye")))