You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: meta/3rd/OpenResty/library/ngx.lua
+5-5Lines changed: 5 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -2134,7 +2134,7 @@ function ngx.req.get_post_args(max_args) end
2134
2134
---
2135
2135
--- Removing the `max_args` cap is strongly discouraged.
2136
2136
---
2137
-
---@parammax_argsnumber
2137
+
---@parammax_args?number
2138
2138
---@returntable args
2139
2139
---@returnstring|'"truncated"' error
2140
2140
functionngx.req.get_uri_args(max_args) end
@@ -2438,8 +2438,8 @@ function ngx.req.clear_header(header_name) end
2438
2438
---
2439
2439
--- The `__index` metamethod will not be added when the `raw` argument is set to `true`.
2440
2440
---
2441
-
---@parammax_headersnumber
2442
-
---@paramrawboolean
2441
+
---@parammax_headers?number
2442
+
---@paramraw?boolean
2443
2443
---@returntable<string, string|string[]> headers
2444
2444
---@returnstring|'"truncated"' error
2445
2445
functionngx.req.get_headers(max_headers, raw) end
@@ -4211,8 +4211,8 @@ ngx.resp = {}
4211
4211
---
4212
4212
--- Note that a maximum of 100 response headers are parsed by default (including those with the same name) and that additional response headers are silently discarded to guard against potential denial of service attacks. When the limit is exceeded, it will return a second value which is the string `"truncated"`.
4213
4213
---
4214
-
---@parammax_headersnumber
4215
-
---@paramrawboolean
4214
+
---@parammax_headers?number
4215
+
---@paramraw?boolean
4216
4216
---@returntable<string, string|string[]>
4217
4217
---@returnstring|'"truncated"' error
4218
4218
functionngx.resp.get_headers(max_headers, raw) end
0 commit comments