lua-users home
lua-l archive

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


Hi,
      If I do the following:

local h = require "socket.http"
print(h.request([[http://www.amved.com/milindsweb/tableDB.html]]))

It prints the correct HTML if I use luasocket 2.0 but if I use luasocket 3.0 it prints out this:

<!-- pageok -->
<!-- managed by puppet -->
<html>
<pre>pageok</pre>
</html>
200     table: 0092BD00 HTTP/1.1 200 OK


Is this a bug or something needs to be done differently?

Thanks,
Milind