mirror of
https://github.com/lunarmodules/luasocket.git
synced 2024-12-25 20:18:21 +01:00
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).
This commit is contained in:
parent
12bde801f6
commit
e716e7347b
@ -11,7 +11,6 @@
|
||||
local base = _G
|
||||
local ltn12 = require("ltn12")
|
||||
local mime = require("mime.core")
|
||||
local io = require("io")
|
||||
local string = require("string")
|
||||
module("mime")
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user