summaryrefslogtreecommitdiff
path: root/meta/3rd/OpenResty/library/ngx/req.lua
diff options
context:
space:
mode:
Diffstat (limited to 'meta/3rd/OpenResty/library/ngx/req.lua')
m---------meta/3rd/OpenResty0
-rw-r--r--meta/3rd/OpenResty/library/ngx/req.lua16
2 files changed, 0 insertions, 16 deletions
diff --git a/meta/3rd/OpenResty b/meta/3rd/OpenResty
new file mode 160000
+Subproject 3bec36f0f645bb38b3c8208990d5c36feb66ce3
diff --git a/meta/3rd/OpenResty/library/ngx/req.lua b/meta/3rd/OpenResty/library/ngx/req.lua
deleted file mode 100644
index 7bf14494..00000000
--- a/meta/3rd/OpenResty/library/ngx/req.lua
+++ /dev/null
@@ -1,16 +0,0 @@
----@meta
-local req = {}
-
-req.version = require("resty.core.base").version
-
----This method adds the specified header and its value to the current request. It works similarly as ngx.req.set_header, with the exception that when the header already exists, the specified value(s) will be appended instead of overriden.
----
----When the specified `header_name` is a builtin header (e.g. User-Agent), this method will override its values.
----
----The `header_value` argument can either be a string or a non-empty, array-like table. A nil or empty table value will cause this function to throw an error.
----
----@param header_name string must be a non-empty string.
----@param header_value string|string[]
-function req.add_header(header_name, header_value) end
-
-return req