http://httpd.apache.org/apreq/
This package contains modules for manipulating client request data via
the Apache API with Perl and C. Functionality includes:
- parsing of application/x-www-form-urlencoded data
- parsing of multipart/form-data
- parsing of HTTP Cookies
See libapreq.pod for the C API documentation and eg/c/ for examples.