[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: How to read http PUT or POST data from luasocket server
- From: Benjamin Kober <kober@...>
- Date: Tue, 01 Oct 2013 10:35:27 +0200
Hi,
I've implemented a ReST server based on the listener.lua sample for the
luasocket library. Everything works fine as long as I only handle GET
requests. When I do
l, e = c:receive()
I get something like
<PUT|POST> <url> HTTP1.0
as the response but not the pushed or posted data.
Has anyone experience with this kind of requests? I didn't found
something in the official docs.
Thanks, Benjamin