I've seen multiple posts all over Internet about different methods, but still I didn't find a proper answer.
The problem: my CGI application is running in an embedded web server, the language I'm using is C, and what I'm trying to do is to process a file sent with a POST request of a form.
The application has been doing everything so far without the use of any libraries, but now I need to add this function and I don't really know which library can I use to do so. And doing it from scratch seems way too complicate for such a simple objective. Maybe not so much for the technical implications, but specially for the possible deviations between browsers.
Any advice about it?
EDIT: I want to be able to POST files from a browser, and I want to avoid the multipart content type, because it's overhead...