We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6eaf572 commit 38bb49aCopy full SHA for 38bb49a
test/Hyper/FormSpec.purs
@@ -41,6 +41,10 @@ spec =
41
form <- runParseForm "foo=bar" Nothing
42
form `shouldEqual` (Form [Tuple "foo" (Just "bar")])
43
44
+ it "handles percent-encoding" do
45
+ form <- runParseForm "foo=%62%61%72" Nothing
46
+ form `shouldEqual` (Form [Tuple "foo" (Just "bar")])
47
+
48
it "parses multiple keys and values" do
49
form <- runParseForm "foo=bar&baz=quux&a=1&b=2" Nothing
50
form `shouldEqual` (Form [ Tuple "foo" (Just "bar")
0 commit comments