aboutsummaryrefslogtreecommitdiff
path: root/doc/ref/web/query.texi
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@lysator.liu.se>2023-09-12 10:35:37 +0200
committerHugo Hörnquist <hugo@lysator.liu.se>2023-09-12 10:35:37 +0200
commita3675c13336afb0b37e0f211c649813f4f291224 (patch)
tree53c480199fe2ce625af575188740fa4d12507712 /doc/ref/web/query.texi
parentRework file tree structure for info files. (diff)
downloadcalp-a3675c13336afb0b37e0f211c649813f4f291224.tar.gz
calp-a3675c13336afb0b37e0f211c649813f4f291224.tar.xz
Further doc work.
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