# HG changeset patch # User Kim Alvefur # Date 1615311875 -3600 # Node ID 508cb880b1630d66cbcd8c4cb0bf42da677831ba # Parent e11abf578df55830ef57957968978d128c5c35ce mod_rest: Fix typos [codespell] diff -r e11abf578df5 -r 508cb880b163 mod_rest/README.markdown --- a/mod_rest/README.markdown Tue Mar 09 12:55:42 2021 +0100 +++ b/mod_rest/README.markdown Tue Mar 09 18:44:35 2021 +0100 @@ -384,7 +384,7 @@ `"composing"` (typing). `html` -: String with HTML allowing rich formating. **MUST** be contained in a +: String with HTML allowing rich formatting. **MUST** be contained in a `` element. `oob_url` @@ -467,7 +467,7 @@ `data` : Map with only the data for result dataforms. Fields may be - stings or arrays of strings. + strings or arrays of strings. ##### Example diff -r e11abf578df5 -r 508cb880b163 mod_rest/mod_rest.lua --- a/mod_rest/mod_rest.lua Tue Mar 09 12:55:42 2021 +0100 +++ b/mod_rest/mod_rest.lua Tue Mar 09 18:44:35 2021 +0100 @@ -217,7 +217,7 @@ -- GET → iq-get local function parse_request(request, path) if path and request.method == "GET" then - -- e.g. /verison/{to} + -- e.g. /version/{to} if request.url.query then return parse("application/x-www-form-urlencoded", request.url.query, "iq/"..path); end