[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: expat XML parser binding
- From: "Jay Carlson" <nop@...>
- Date: Mon, 26 Nov 2001 03:24:30 -0500
> If Lua also had a binding for libcurl(http://curl.haxx.se/libcurl/) it
> would be possible to do some really cool web scripting. In the meantime
> execute("curl https:...") works ok.
I can top that for grossness:
local rv = execute("POST -c 'text/xml' -H 'User-Agent: LuaXMLRPC/0.0' -H
'Host: "..host.."' " ..url .. "</tmp/a >/tmp/b")
where /usr/bin/POST came from libwww-perl, or at least that's what the
Debian package tools say...
I'll take a look at libcurl right after I get LuaSocket built.