Add support for HTTP PATCH and TRACE (#324)

This commit is contained in:
Jared Allard 2019-12-08 09:10:58 -08:00 committed by Jonathan Coates
parent fa70ebcac2
commit b0397ed3c5
2 changed files with 2 additions and 1 deletions

View File

@ -30,4 +30,4 @@ jobs:
test -d bin || mkdir bin
test -f bin/illuaminate || wget -q -Obin/illuaminate https://squiddev.cc/illuaminate/bin/illuaminate
chmod +x bin/illuaminate
GITHUB_TOKEN=${{ secrets.GITHUB_TOKEN }} bin/illuaminate lint --github
bin/illuaminate lint

View File

@ -681,6 +681,7 @@ if http then
local methods = {
GET = true, POST = true, HEAD = true,
OPTIONS = true, PUT = true, DELETE = true,
PATCH = true, TRACE = true,
}
local function checkKey( options, key, ty, opt )