diff options
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -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 |