chmorgan / libesphttpd

Libesphttpd - web server for ESP8266 / ESP32
Mozilla Public License 2.0
128 stars 45 forks source link

improvements and bug-fixes to VFS cgi functions #48

Closed phatpaul closed 6 years ago

phatpaul commented 6 years ago

Improvements and bug-fixes to VFS cgi functions.

Added POST handling to vfs_upload function. (File should be posted by itself - file embedded inside a multipart/form-data is not implemented yet. I asked @PaulFreund for help with this, since I don't need it for my project and he has said he already implemented it: https://github.com/chmorgan/libesphttpd/pull/40#issuecomment-431839419)

Added filename specification via URL, or parameter, (or inside post data -todo).

Added create missing directories.

Added json response.

Added documentation.

I'll create a PR for the FreeRToS example project as well.