Skip to content

Commit 8d61f77

Browse files
committed
resolve #1061 update OpenResty
1 parent 8b71c31 commit 8d61f77

File tree

1 file changed

+59
-59
lines changed

1 file changed

+59
-59
lines changed

meta/3rd/OpenResty/library/ngx.lua

+59-59
Original file line numberDiff line numberDiff line change
@@ -53,21 +53,21 @@ ngx.HTTP_PATCH = 16384
5353
ngx.HTTP_TRACE = 32768
5454

5555
---@alias ngx.http.method
56-
---| 'ngx.HTTP_GET'
57-
---| 'ngx.HTTP_HEAD'
58-
---| 'ngx.HTTP_POST'
59-
---| 'ngx.HTTP_PUT'
60-
---| 'ngx.HTTP_DELETE'
61-
---| 'ngx.HTTP_MKCOL'
62-
---| 'ngx.HTTP_COPY'
63-
---| 'ngx.HTTP_MOVE'
64-
---| 'ngx.HTTP_OPTIONS'
65-
---| 'ngx.HTTP_PROPFIND'
66-
---| 'ngx.HTTP_PROPPATCH'
67-
---| 'ngx.HTTP_LOCK'
68-
---| 'ngx.HTTP_UNLOCK'
69-
---| 'ngx.HTTP_PATCH'
70-
---| 'ngx.HTTP_TRACE'
56+
---| `ngx.HTTP_GET`
57+
---| `ngx.HTTP_HEAD`
58+
---| `ngx.HTTP_POST`
59+
---| `ngx.HTTP_PUT`
60+
---| `ngx.HTTP_DELETE`
61+
---| `ngx.HTTP_MKCOL`
62+
---| `ngx.HTTP_COPY`
63+
---| `ngx.HTTP_MOVE`
64+
---| `ngx.HTTP_OPTIONS`
65+
---| `ngx.HTTP_PROPFIND`
66+
---| `ngx.HTTP_PROPPATCH`
67+
---| `ngx.HTTP_LOCK`
68+
---| `ngx.HTTP_UNLOCK`
69+
---| `ngx.HTTP_PATCH`
70+
---| `ngx.HTTP_TRACE`
7171

7272
ngx.HTTP_CONTINUE = 100
7373
ngx.HTTP_SWITCHING_PROTOCOLS = 101
@@ -106,41 +106,41 @@ ngx.HTTP_VERSION_NOT_SUPPORTED = 505
106106
ngx.HTTP_INSUFFICIENT_STORAGE = 507
107107

108108
---@alias ngx.http.status_code
109-
---| 'ngx.HTTP_CONTINUE'
110-
---| 'ngx.HTTP_SWITCHING_PROTOCOLS'
111-
---| 'ngx.HTTP_OK'
112-
---| 'ngx.HTTP_CREATED'
113-
---| 'ngx.HTTP_ACCEPTED'
114-
---| 'ngx.HTTP_NO_CONTENT'
115-
---| 'ngx.HTTP_PARTIAL_CONTENT'
116-
---| 'ngx.HTTP_SPECIAL_RESPONSE'
117-
---| 'ngx.HTTP_MOVED_PERMANENTLY'
118-
---| 'ngx.HTTP_MOVED_TEMPORARILY'
119-
---| 'ngx.HTTP_SEE_OTHER'
120-
---| 'ngx.HTTP_NOT_MODIFIED'
121-
---| 'ngx.HTTP_TEMPORARY_REDIRECT'
122-
---| 'ngx.HTTP_PERMANENT_REDIRECT'
123-
---| 'ngx.HTTP_BAD_REQUEST'
124-
---| 'ngx.HTTP_UNAUTHORIZED'
125-
---| 'ngx.HTTP_PAYMENT_REQUIRED'
126-
---| 'ngx.HTTP_FORBIDDEN'
127-
---| 'ngx.HTTP_NOT_FOUND'
128-
---| 'ngx.HTTP_NOT_ALLOWED'
129-
---| 'ngx.HTTP_NOT_ACCEPTABLE'
130-
---| 'ngx.HTTP_REQUEST_TIMEOUT'
131-
---| 'ngx.HTTP_CONFLICT'
132-
---| 'ngx.HTTP_GONE'
133-
---| 'ngx.HTTP_UPGRADE_REQUIRED'
134-
---| 'ngx.HTTP_TOO_MANY_REQUESTS'
135-
---| 'ngx.HTTP_CLOSE'
136-
---| 'ngx.HTTP_ILLEGAL'
137-
---| 'ngx.HTTP_INTERNAL_SERVER_ERROR'
138-
---| 'ngx.HTTP_METHOD_NOT_IMPLEMENTED'
139-
---| 'ngx.HTTP_BAD_GATEWAY'
140-
---| 'ngx.HTTP_SERVICE_UNAVAILABLE'
141-
---| 'ngx.HTTP_GATEWAY_TIMEOUT'
142-
---| 'ngx.HTTP_VERSION_NOT_SUPPORTED'
143-
---| 'ngx.HTTP_INSUFFICIENT_STORAGE'
109+
---| `ngx.HTTP_CONTINUE`
110+
---| `ngx.HTTP_SWITCHING_PROTOCOLS`
111+
---| `ngx.HTTP_OK`
112+
---| `ngx.HTTP_CREATED`
113+
---| `ngx.HTTP_ACCEPTED`
114+
---| `ngx.HTTP_NO_CONTENT`
115+
---| `ngx.HTTP_PARTIAL_CONTENT`
116+
---| `ngx.HTTP_SPECIAL_RESPONSE`
117+
---| `ngx.HTTP_MOVED_PERMANENTLY`
118+
---| `ngx.HTTP_MOVED_TEMPORARILY`
119+
---| `ngx.HTTP_SEE_OTHER`
120+
---| `ngx.HTTP_NOT_MODIFIED`
121+
---| `ngx.HTTP_TEMPORARY_REDIRECT`
122+
---| `ngx.HTTP_PERMANENT_REDIRECT`
123+
---| `ngx.HTTP_BAD_REQUEST`
124+
---| `ngx.HTTP_UNAUTHORIZED`
125+
---| `ngx.HTTP_PAYMENT_REQUIRED`
126+
---| `ngx.HTTP_FORBIDDEN`
127+
---| `ngx.HTTP_NOT_FOUND`
128+
---| `ngx.HTTP_NOT_ALLOWED`
129+
---| `ngx.HTTP_NOT_ACCEPTABLE`
130+
---| `ngx.HTTP_REQUEST_TIMEOUT`
131+
---| `ngx.HTTP_CONFLICT`
132+
---| `ngx.HTTP_GONE`
133+
---| `ngx.HTTP_UPGRADE_REQUIRED`
134+
---| `ngx.HTTP_TOO_MANY_REQUESTS`
135+
---| `ngx.HTTP_CLOSE`
136+
---| `ngx.HTTP_ILLEGAL`
137+
---| `ngx.HTTP_INTERNAL_SERVER_ERROR`
138+
---| `ngx.HTTP_METHOD_NOT_IMPLEMENTED`
139+
---| `ngx.HTTP_BAD_GATEWAY`
140+
---| `ngx.HTTP_SERVICE_UNAVAILABLE`
141+
---| `ngx.HTTP_GATEWAY_TIMEOUT`
142+
---| `ngx.HTTP_VERSION_NOT_SUPPORTED`
143+
---| `ngx.HTTP_INSUFFICIENT_STORAGE`
144144

145145

146146
ngx.DEBUG = 8
@@ -156,15 +156,15 @@ ngx.STDERR = 0
156156
--- NGINX log level constants
157157
--- https://github.com/openresty/lua-nginx-module/#nginx-log-level-constants
158158
---@alias ngx.log.level
159-
---| 'ngx.DEBUG' # debug
160-
---| 'ngx.INFO' # info
161-
---| 'ngx.NOTICE' # notice
162-
---| 'ngx.WARN' # warning
163-
---| 'ngx.ERR' # error
164-
---| 'ngx.ALERT' # alert
165-
---| 'ngx.CRIT' # critical
166-
---| 'ngx.EMERG' # emergency
167-
---| 'ngx.STDERR' # standard error
159+
---| `ngx.DEBUG` # debug
160+
---| `ngx.INFO` # info
161+
---| `ngx.NOTICE` # notice
162+
---| `ngx.WARN` # warning
163+
---| `ngx.ERR` # error
164+
---| `ngx.ALERT` # alert
165+
---| `ngx.CRIT` # critical
166+
---| `ngx.EMERG` # emergency
167+
---| `ngx.STDERR` # standard error
168168

169169

170170
--- ngx.ctx table

0 commit comments

Comments
 (0)