aboutsummaryrefslogtreecommitdiff
path: root/doc/ref/web/query.texi
diff options
context:
space:
mode:
Diffstat (limited to 'doc/ref/web/query.texi')
-rw-r--r--doc/ref/web/query.texi9
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/ref/web/query.texi b/doc/ref/web/query.texi
new file mode 100644
index 00000000..df3ba953
--- /dev/null
+++ b/doc/ref/web/query.texi
@@ -0,0 +1,9 @@
+@node Web Query
+@section (web query)
+
+@defun parse-query query-string [encoding=''UTF-8'']
+Given a string like ``?key=value&other=something'', returns
+@code{(key: "value" other: "something")}. Performs uri-decoding of
+both key and value. A key without a value decodes to that key, with
+itself as its value
+@end defun