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
1 changed files with 0 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue