aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorroot <elezegarcia@yahoo.com.ar>2012-01-08 12:34:11 -0300
committerSam Roberts <vieuxtech@gmail.com>2012-04-11 13:45:59 -0700
commite716e7347b35ab0d00d95308522c1a099a01ebaa (patch)
treec07342fed3d83bae22a13e5544a01f931084606c
parent12bde801f6a5d3a192dee29dda1266108aa98d45 (diff)
downloadluasocket-e716e7347b35ab0d00d95308522c1a099a01ebaa.tar.gz
luasocket-e716e7347b35ab0d00d95308522c1a099a01ebaa.tar.bz2
luasocket-e716e7347b35ab0d00d95308522c1a099a01ebaa.zip
mime: Remove io dependency
This dependency was spuriously added, maybe for debug reasons, as confirmed to me by Diego Nehab by mail. Some systems based in Lua (e.g. Ginga) prohibit the use of io module for security reasons, so this dependency makes mime unusable; even worse this makes other modules, based on mime, unusable too (e.g. html).
-rw-r--r--src/mime.lua1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/mime.lua b/src/mime.lua
index eb75db2..81d8e0d 100644
--- a/src/mime.lua
+++ b/src/mime.lua
@@ -11,7 +11,6 @@
11local base = _G 11local base = _G
12local ltn12 = require("ltn12") 12local ltn12 = require("ltn12")
13local mime = require("mime.core") 13local mime = require("mime.core")
14local io = require("io")
15local string = require("string") 14local string = require("string")
16module("mime") 15module("mime")
17 16