I am trying to come up with a parser for HTTP requests with a content type of "multipart/form-data", however parsing such a body does not seem to be as easy as one might think and so I am wondering whether anybody knows some small piece of code which does such a task efficiently. Thanks.
PS: This is about a standalone application and not a servlet.
▌Sitemeer.com - Is your site up?
▌Multi-Location Service Availability Check ● the only with support for HTTPS & IDN
You could take a look at the code for the Oreilly servlet package, specifically the MultipartParser class. These can be found at http://www.servlets.com/cos/index.html. They do assume a servlet environment but you may be able to at least get some ideas.