Commit Graph
10 Commits
Author SHA1 Message Date
Ben Pirt 4c47af2c68 Merge pull request #5 from billprozac/streaming
Merge updates from @billprozac
2015-03-11 09:07:54 +00:00
Ben Pirt c2a02f28ea Replaced the multipart espfs flashing with the version from @billprozac and tweaked a little (untested) 2015-03-09 11:48:41 +00:00
Ben Pirt 4ee2d75977 Refactor to make all requests able to handle streaming as it makes the code much simpler 2015-03-09 11:08:27 +00:00
Ben Pirt 92bb77784a WIP - add a handler which will take a file upload and update the espfs image
Currently this is processing the form/multipart data but not doing the writing to flash
2015-03-06 17:28:47 +00:00
Ben Pirt 189eded1cc Add support for extracting the multipart form boundary for later use by cgi 2015-03-06 17:28:34 +00:00
Ben Pirt 6f80e55a61 Modify httpd to be able to use streaming post requests.
This also ups the post buffer to 1460 to match the TCP packet size

WIP: The cgi function to update the espfs is not complete
2015-03-05 16:17:37 +00:00
Ben Pirt 92b27fd615 Expose the request type to the CGI functions so we can act based on its value 2015-03-05 14:49:59 +00:00
Ben Pirt e80e1862a8 Set the content-length header along with the 404 response 2015-03-05 14:49:51 +00:00
Ben Pirt 74ef535784 Tweak the find command so it works on a mac too 2015-03-05 14:49:43 +00:00
Ben Pirt a1754832c2 Add .DS_Store to gitignore file to make development sane on a mac 2015-03-05 14:49:35 +00:00