lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

Is there a way to only download part of a file using LuaSocket and the HTTP request() function? Does it involve writting my own sink? If so, does anyone have an example that does this. The file is text and so I am just trying to download the first 1k of it, because that contains the information I need. Is this possible? Thanks.