If you know of such a library, I'd be happy to learn of it.
(background: Trying to add RESTful services to httpd, using Lua to
handle the request. But I am missing the request decoding part)
tnx,
Marc
--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-...@muc.de
> I am looking for code to decode HTTP PUT/GET/etc. requests, i.e.
> breaking the request down to the variables that have been transmitted,
Maybe you can cut somthing out of libhttpd.c:httpd_parse_request() from:
http://acme.com/software/thttpd/
Maybe worth a look also:
http://acme.com/software/micro_httpd/
http://acme.com/software/mini_httpd/
--
\end{Jochen}
\ref{http://www.unixag-kl.fh-kl.de/~jkunz/}
You might look at libevent, likely libevent 2.0. It grew a bunch of
that kind of stuff after we imported 1.4.
Thor