增加ngx使用的状态信息数据
This commit is contained in:
parent
c6311342ca
commit
9c564c275a
|
|
@ -1,3 +1,22 @@
|
|||
--HTTP 返回状态
|
||||
--ngx.HTTP_OK (200)
|
||||
--ngx.HTTP_CREATED (201)
|
||||
--ngx.HTTP_SPECIAL_RESPONSE (300)
|
||||
--ngx.HTTP_MOVED_PERMANENTLY (301)
|
||||
--ngx.HTTP_MOVED_TEMPORARILY (302)
|
||||
--ngx.HTTP_SEE_OTHER (303)
|
||||
--ngx.HTTP_NOT_MODIFIED (304)
|
||||
--ngx.HTTP_BAD_REQUEST (400)
|
||||
--ngx.HTTP_UNAUTHORIZED (401)
|
||||
--ngx.HTTP_FORBIDDEN (403)
|
||||
--ngx.HTTP_NOT_FOUND (404)
|
||||
--ngx.HTTP_NOT_ALLOWED (405)
|
||||
--ngx.HTTP_GONE (410)
|
||||
--ngx.HTTP_INTERNAL_SERVER_ERROR (500)
|
||||
--ngx.HTTP_METHOD_NOT_IMPLEMENTED (501)
|
||||
--ngx.HTTP_SERVICE_UNAVAILABLE (503)
|
||||
--ngx.HTTP_GATEWAY_TIMEOUT (504)
|
||||
|
||||
return {
|
||||
-- 系统状态码
|
||||
[0x000000] = 'ok',
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user