changeset 4506:508cb880b163

mod_rest: Fix typos [codespell]
author Kim Alvefur <zash@zash.se>
date Tue, 09 Mar 2021 18:44:35 +0100
parents e11abf578df5
children 86a97e7572b2
files mod_rest/README.markdown mod_rest/mod_rest.lua
diffstat 2 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- 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
     `<body>` 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
 
--- 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