summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.md7
1 files changed, 5 insertions, 2 deletions
diff --git a/README.md b/README.md
index b5c413f..180b168 100644
--- a/README.md
+++ b/README.md
@@ -46,7 +46,9 @@ Decodes percent-encoded strings.
* `str`: a string with percent-encoded values embedded
-Returns the clean string, with the percent-encoded values decoded. Note that it will NOT do things like replace '+' with ' ' for `application/x-www-form-urlencoded` data.
+Returns the clean string, with the percent-encoded values decoded. Note that
+it will NOT do things like replace '+' with ' ' for `application/x-www-form-urlencoded`
+data.
#### `marigold.decode_query(str [string])` ####
@@ -55,7 +57,8 @@ Decodes `application/x-www-form-urlencoded` data into a table.
* `str`: the string containing the data to decode
-Returns a table containing all the key-value pairs that could be extracted from the string, with all percent-encoding removed and appropriate '+' replaced with ' '.
+Returns a table containing all the key-value pairs that could be extracted
+from the string, with all percent-encoding removed and appropriate '+' replaced with ' '.
[RFC 3875]: https://www.rfc-editor.org/rfc/rfc3875.html