enhance: allow code 444 (#74)

Fix: #72

Allow the use of code 444 as a response code
This commit is contained in:
Laurence Jones 2024-09-04 09:11:59 +01:00 committed by GitHub
parent 5249a8c4e8
commit 7a85876436
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -14,6 +14,7 @@ M.HTTP_CODE["403"] = ngx.HTTP_FORBIDDEN
M.HTTP_CODE["404"] = ngx.HTTP_NOT_FOUND
M.HTTP_CODE["405"] = ngx.HTTP_NOT_ALLOWED
M.HTTP_CODE["406"] = ngx.HTTP_NOT_ACCEPTABLE
M.HTTP_CODE["444"] = ngx.HTTP_CLOSE
M.HTTP_CODE["500"] = ngx.HTTP_INTERNAL_SERVER_ERROR
function M.read_file(path)
@ -54,4 +55,4 @@ function M.table_len(table)
return count
end
return M
return M