Skip to content

Commit 92d2cfe

Browse files
fangguangyangsumneko
authored andcommitted
Update ngx.lua
update ngx.req.set_uri last two params are optional
1 parent efbd590 commit 92d2cfe

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2228,8 +2228,8 @@ function ngx.req.get_uri_args(max_args) end
22282228
--- in "\x00foo" (maybe you want to set the 'binary' argument?)
22292229
---
22302230
---@param uri string
2231-
---@param jump boolean
2232-
---@param binary boolean
2231+
---@param jump? boolean
2232+
---@param binary? boolean
22332233
function ngx.req.set_uri(uri, jump, binary) end
22342234

22352235
--- Append new data chunk specified by the `data_chunk` argument onto the existing request body created by the `ngx.req.init_body` call.

0 commit comments

Comments
 (0)