tech-userlevel archive

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

Re: Decoding HTTP requests

On Wed, Jul 20, 2011 at 02:12:50PM +0200, Marc Balmer wrote:
> 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,
> with proper (de)escaping etc., maybe with file upload capabilities.
> Should be written in C and BSD/MIT licensed.
> 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)

You might look at libevent, likely libevent 2.0.  It grew a bunch of
that kind of stuff after we imported 1.4.


Home | Main Index | Thread Index | Old Index