enhance: allow code 444 (#74)
Fix: #72 Allow the use of code 444 as a response code
This commit is contained in:
parent
5249a8c4e8
commit
7a85876436
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue