Mercurial > prosody-modules
diff mod_rest/mod_rest.lua @ 4506:508cb880b163
mod_rest: Fix typos [codespell]
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Tue, 09 Mar 2021 18:44:35 +0100 |
parents | 80912726405d |
children | 81d0748bff5b |
line wrap: on
line diff
--- 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