summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c/luatexdir/luasocket/src/headers.lua
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/texk/web2c/luatexdir/luasocket/src/headers.lua')
-rw-r--r--Build/source/texk/web2c/luatexdir/luasocket/src/headers.lua11
1 files changed, 9 insertions, 2 deletions
diff --git a/Build/source/texk/web2c/luatexdir/luasocket/src/headers.lua b/Build/source/texk/web2c/luatexdir/luasocket/src/headers.lua
index 41794baeef0..875bbf6d562 100644
--- a/Build/source/texk/web2c/luatexdir/luasocket/src/headers.lua
+++ b/Build/source/texk/web2c/luatexdir/luasocket/src/headers.lua
@@ -3,9 +3,13 @@
-- LuaSocket toolkit.
-- Author: Diego Nehab
-----------------------------------------------------------------------------
-module("socket.headers")
+if not(socket) then
+ local socket = require("socket")
+end
+socket.headers = {}
+local _M = socket.headers
-canonic = {
+_M.canonic = {
["accept"] = "Accept",
["accept-charset"] = "Accept-Charset",
["accept-encoding"] = "Accept-Encoding",
@@ -33,6 +37,7 @@ canonic = {
["content-range"] = "Content-Range",
["content-transfer-encoding"] = "Content-Transfer-Encoding",
["content-type"] = "Content-Type",
+ ["cookie"] = "Cookie",
["date"] = "Date",
["diagnostic-code"] = "Diagnostic-Code",
["dsn-gateway"] = "DSN-Gateway",
@@ -97,3 +102,5 @@ canonic = {
["www-authenticate"] = "WWW-Authenticate",
["x-mailer"] = "X-Mailer",
}
+
+return _M \ No newline at end of file