I've also brought out the HTTP verb so that it can be accessed by the cgi handler which means you can have a particular URL respond differently to GET or POST requests. I've tried to keep commits isolated into single commits where they can be.
@prozac there's now an embedded form which lets you choose a file to upload and then parses it - take a look at the updateWeb function in cgi.c for this. If you have any files you could share on writing to the flash memory that would be useful. If you want to play with what I've done so far, it's in this branch:
https://github.com/bjpirt/esphttpd/tree/streaming