Commit Graph
43 Commits
Author SHA1 Message Date
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
Marcos Kirsch d5396202ea Serve large files example, now with smaller large files 2015-03-15 22:07:35 -05:00
Marcos Kirsch 65538efc1b Modified HTML to call lua script via javascript. Also embedded an image just for stress testing the server 2015-03-10 22:14:10 -05:00
Marcos Kirsch e571f19d81 Increase chunk size, improved traces for debugging purposes. 2015-03-10 22:12:49 -05:00
Marcos Kirsch 2ae0a573d9 Functional garage_door_opener example. 2015-03-08 20:10:37 -05:00
Marcos Kirsch b88e0e382b Add an example binary file (in this case a GIF). It's also bigger than the buffer on the NodeMCU so it stresses sending in chunks. 2015-03-08 19:49:27 -05:00
Marcos Kirsch c805873395 Formatting change, but will delete 2015-03-04 12:33:18 -06:00
Marcos Kirsch 5b472f3554 Add yield so that looong listings don't overflow mcu's buffer 2015-02-28 16:39:40 -06:00
Marcos Kirsch f4875cbd86 Fix indentation 2015-02-28 16:34:24 -06:00
Marcos Kirsch 068b45023e Delete, this is now part of node-info.lua 2015-02-22 16:06:35 -06:00
Marcos Kirsch 316af66d3c Improve demo files 2015-02-22 16:06:06 -06:00
Marcos Kirsch 5fe2dfcf9d Add script that shows how arguments are handled by server 2015-02-22 16:05:35 -06:00
Marcos Kirsch 00475af342 Add links to examples 2015-02-15 16:48:54 -06:00
Marcos Kirsch fa2e85dbb0 Support for Lua scripts 2015-02-15 16:46:29 -06:00
Marcos Kirsch 6e58f58b6d Redesigned remote uses CSS 2015-02-14 01:22:36 -06:00
Marcos Kirsch c33ba75395 Send files in little chunks, large files work now. 2015-02-14 01:19:38 -06:00
Marcos Kirsch a8d408f375 Some example HTML file. 2015-02-08 22:06:50 -06:00