Added ltn12 module. Modified mime to be stand alone.

Still crashes on invalid input. Dunno why.
This commit is contained in:
Diego Nehab 2004-02-11 03:31:53 +00:00
parent 0b2542d1a6
commit 390846b640
12 changed files with 292 additions and 162 deletions

3
test/ltn12test.lua Normal file
View file

@ -0,0 +1,3 @@
sink = ltn12.sink.file(io.open("lixo", "w"))
source = ltn12.source.file(io.open("luasocket", "r"))
ltn12.pump(source, sink)