Commit Graph
66 Commits
Author SHA1 Message Date
Gregor 3833ec8a7b httpserver-header.lc requires the file extension not the MIME type 2017-05-29 19:13:30 +02:00
Marcos Kirsch 6ab6fcfff1 Modify for more standard hardware Wemos D1 Pro and its relay shield. 2017-02-04 23:18:16 -06:00
Marcos Kirsch cc2173e334 Improve wording, ordering of links 2017-02-04 22:23:44 -06:00
Marcos Kirsch 6efa4ce3c0 Add simple text example 2017-01-27 22:22:31 -06:00
Marcos Kirsch 87e1a4babc upload.html fixes
Minor modifications so it works without zipping and without compiling
lua. Fits well on WEMOS D1 Pro - we’ll see if anyone complains.
2017-01-27 22:13:50 -06:00
Marcos 1a5f7507be Merge branch 'dev' into master 2017-01-27 21:58:50 -06:00
ATAMAH bc3ffffa0c Upload form for nodemcu-httpserver
Now you can update your files in /http directory of your tiny webserver
over Wi-Fi!

Drag&drop or browse one or multiple files.
List uploaded files.
Delete files.
Automatically rename files to http/(filename)
Automatically compile .lua files.
Shows total/used memory.
You must compile upload.lua file!

Have some bugs but works pretty well even for uploading lot of files.
2017-01-23 12:36:46 +03:00
Marcos Kirsch 76750ab99a Fixed formatting, and added more info on how this stress test crashes and hints on further testing. 2017-01-01 23:09:48 -06:00
Marcos Kirsch c59af98e19 Change reference to number of images loaded by cars.html more ambiguous, in case that ever changes rendering this incorrect. 2017-01-01 23:09:08 -06:00
Marcos Kirsch 2165484413 Add file.fscfg() results to example. 2017-01-01 22:12:52 -06:00
Marcos Kirsch f9d94d9aa2 Fixed typo in HTML and reduced file size of image. 2016-02-21 22:11:03 -06:00
Marcos Kirsch 86b00f922c Added example that loads several images as a stress test. This does not currently work. 2016-02-21 11:32:35 -06:00
Marcos Kirsch d71b079932 clean up, but example does not work at this time 2016-02-15 22:54:19 -06:00
Marcos Kirsch 11dde7075b Added a second link to zipped file, with gz extension 2016-02-15 22:48:53 -06:00
Marcos Kirsch 5ccc69dc73 Updated examples to remove yields, pass req param. Integration woes. 2016-02-15 22:33:30 -06:00
Marcos Kirsch d31b2d2c89 No need to yield. Conditionally show form. Updated title. 2016-02-15 22:31:48 -06:00
Marcos Kirsch fbc6506faa Merged with main repository 2016-02-15 20:54:11 -06:00
Marcos Kirsch 64f07cb38d Change NodeMCU firmware link to point to github project. 2016-02-15 14:21:16 -06:00
Marcos Kirsch 4d4442318d Fix example server-side scripts to work on new nodemcu-firmware. Specifically, call coroutine.yield() after each connection:send() except the last one, since we can no longer queue sends. 2016-02-15 14:20:28 -06:00
Philip Gladstone 9fee6ee8e8 Removed another unused file 2015-11-28 16:36:53 -05:00
Philip Gladstone a54159b39f Remove unused file 2015-11-28 12:23:22 -05:00
Philip Gladstone 8a195cb798 Reduce memory requirements a bit and fix weird issue in node_info.lua
example
2015-11-28 12:22:20 -05:00
Philip Gladstone b4a2d02431 Fix the problem with the more modern SDK only allowing one outstanding
connection:send at a time. Long and short of it, don't use coroutine.yield
any more when serving content.
2015-11-22 13:39:03 -05:00
Ryan Voots ef340bc82a Implement support for more arbitrary HTTP methods. Allows GET PUT and POST. With minor changes needed to support others 2015-08-31 18:28:03 -07:00
TJ Borromeo e52ca7731f Update node_info.lua
reducing overhead from extra sends probably well beneath buffer limits
2015-07-20 13:22:38 -07:00
Marcos 350c868063 Merge pull request #28 from borromeotlhs/patch-7
Update args.lua
2015-07-19 09:19:05 -05:00
Marcos Kirsch e49eec62d3 Fix: show minor version. Improve formatting 2015-07-19 09:03:37 -05:00
TJ Borromeo 19bac62e07 Update args.lua 2015-07-18 21:51:09 -07:00
Marcos Kirsch f62995cf18 Update GPIO lines to use GPIO1 and GPIO2 on NodeMCU devkit 1 2015-07-18 22:43:10 -05:00
Marcos Kirsch b017526d71 Show size, used, available space in file system 2015-07-18 22:42:29 -05:00
TJ Borromeo 25a7313af5 Update file_list.lua
get rid of variables if not actually used.  Create variables only when a condition to use them is met.
2015-07-17 14:17:09 -07:00
Marcos Kirsch 453f38b52f Small wording improvement 2015-04-19 23:40:36 -05:00
Marcos Kirsch c7b20c0674 shortened file 2015-04-19 23:38:25 -05:00
Marcos Kirsch 0cc7a8b7be Fix issue 16: gzip example files are too large, replace with much smaller one 2015-04-19 14:48:29 -05:00
Marcos Kirsch 572732fd44 Add sample file with a form using method POST 2015-04-18 23:12:04 -05:00
Artem Pastukhov 596d9dd06b Fixes 2015-04-02 16:11:33 +03:00
Artem Pastukhov da17c3b346 Merge branch 'master' of https://github.com/pastukhov/nodemcu-httpserver
Conflicts:
	Makefile
	http/node_info.lua
	httpserver-static.lua
2015-04-02 16:02:39 +03:00
Artem Pastukhov d198d1b433 add jquery and gz tests 2015-04-02 15:45:02 +03:00
Artem Pastukhov 60a95c420d remove http/ual.lua 2015-04-02 15:44:01 +03:00
Marcos Kirsch f7969ae12d Fix typo in HTTP headers. I need to refactor so header creation is single sourced. Oh well. This may fix issues in Firefox 2015-04-01 22:56:47 -05:00
Artem Pastukhov 92a44592d5 Fix end of line 2015-04-01 08:57:18 +03:00
Artem Pastukhov de121b6dfa Add ual.lua 2015-03-31 14:54:31 +03:00
Artem Pastukhov 269b6e35bf More typo fixes 2015-03-31 14:53:52 +03:00
Artem Pastukhov 71058e6b44 Fix some typos
Add ability to start httpserver with wifi.ap mode
Add http/updateaplist.lua that create http/aplist.json with list of access points
2015-03-31 09:53:24 +03:00
Marcos Kirsch eeb7d1dff3 Much nicer HTML design 2015-03-22 22:13:53 -05:00
Marcos Kirsch dfb2dbecdf Smaller GIF, but animated 2015-03-22 22:00:42 -05:00
Marcos Kirsch a0c25ca2c9 remove another large file 2015-03-22 22:00:18 -05:00
Marcos Kirsch f80b37a915 Remove cars example, doesn't fit in flash memory well 2015-03-22 21:59:53 -05:00
Marcos Kirsch be08c78e8b Remove image, was just for testing purposes 2015-03-15 22:10:11 -05:00
Marcos Kirsch 4a2dafccc8 Reorder, add image, add garage example 2015-03-15 22:09:18 -05:00