summaryrefslogtreecommitdiff
path: root/meta/3rd/OpenResty/library/ngx/resp.lua
diff options
context:
space:
mode:
Diffstat (limited to 'meta/3rd/OpenResty/library/ngx/resp.lua')
m---------meta/3rd/OpenResty0
-rw-r--r--meta/3rd/OpenResty/library/ngx/resp.lua23
2 files changed, 0 insertions, 23 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/resp.lua b/meta/3rd/OpenResty/library/ngx/resp.lua
deleted file mode 100644
index c2de299a..00000000
--- a/meta/3rd/OpenResty/library/ngx/resp.lua
+++ /dev/null
@@ -1,23 +0,0 @@
----@meta
-local resp={}
-
-resp.version = require("resty.core.base").version
-
---- This function adds specified header with corresponding value to the response of current request.
----
---- The `header_value` could be either a string or a table.
----
---- The ngx.resp.add_header works mostly like:
----
---- `ngx.header.HEADER`
---- Nginx's `add_header` directive.
----
---- However, unlike `ngx.header.HEADER`, this method appends new header to the old one instead of overriding it.
----
---- Unlike `add_header` directive, this method will override the builtin header instead of appending it.
----
----@param key string
----@param value string|string[]
-function resp.add_header(key, value) end
-
-return resp \ No newline at end of file