293 Commits

Author SHA1 Message Date
Marcos Kirsch
d73bd73211 Added back improved version of validateMethod
Reduced MIME types list to save memory

Fixed argument parsing! this is biggie

General cleanup and bugfixes
2015-02-22 16:25:31 -06:00
Marcos Kirsch
796d17b205 commit some changes but I want to stop tracking, so that's next 2015-02-22 16:21:03 -06:00
Marcos Kirsch
9cea7cd370 Modify so all file types are uploaded, not just HTML files 2015-02-22 16:20:36 -06:00
Marcos Kirsch
9459bb2645 Add code that shows how to start the server 2015-02-22 16:09:06 -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
5c1404dcea Erase, not used 2015-02-22 16:05:10 -06:00
Marcos Kirsch
6ba7c02381 Attempt at improving the printing, but will delete anyway 2015-02-22 16:04:08 -06:00
Marcos
524730d4e5 Merge pull request #1 from samdieck/master
Makefile for uploading server files using luatool.py
2015-02-17 22:02:36 -06:00
Marcos Kirsch
ac387a6c2c add open issue 2015-02-15 16:54:05 -06:00
Marcos Kirsch
62760f1f80 add feature 2015-02-15 16:53:08 -06:00
Marcos Kirsch
c0d6218397 Support for Lua scripts 2015-02-15 16:51:21 -06:00
Marcos Kirsch
00475af342 Add links to examples 2015-02-15 16:48:54 -06:00
Marcos Kirsch
3f5caa7afb Clean up 2015-02-15 16:48:30 -06:00
Marcos Kirsch
685102f478 Updates 2015-02-15 16:48:04 -06:00
Marcos Kirsch
fa2e85dbb0 Support for Lua scripts 2015-02-15 16:46:29 -06:00
Marcos
94c90c39ab Delete escape.py
experimental file was not needed
2015-02-14 21:50:16 -06:00
Marcos Kirsch
d23cafba97 Updates 2015-02-14 21:48:35 -06:00
Marcos Kirsch
f07b5d8760 increased timer time 2015-02-14 21:32:53 -06:00
Marcos Kirsch
51bfb3a8cc Minor cleanup 2015-02-14 21:31:08 -06:00
Marcos Kirsch
5d4887927d MIME types now correct
Support for different mime types based on the file extension.
Added some code for parsing the arguments after the file
(index.html?a=b&c=d) but it’s not in use yet.
2015-02-14 19:38:38 -06:00
Marcos Kirsch
b75d610e6a Shortened code.
Reimplemented parseRequest (simpler). Shortened onReceive()
2015-02-14 01:48:49 -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
8272d8f59c Functional GET can serve text files up to 1 KB 2015-02-14 00:22:23 -06:00
Marcos Kirsch
b0cbe2a77f Fix for Lua builds without floating point. 2015-02-13 23:08:28 -06:00
Samuel A. Dieck
44b40f00f3 Fixed upload_lua target in makefile 2015-02-13 00:19:26 -06:00
Samuel A. Dieck
2da23c36ed Added makefile to upload files via luatool. 2015-02-13 00:12:43 -06:00
Marcos Kirsch
d137648706 More of a scratch pad, shouldn't be in source control at all but oh well... 2015-02-08 22:12:26 -06:00
Marcos Kirsch
ef30ef3811 These files are gone... 2015-02-08 22:10:58 -06:00
Marcos Kirsch
294b781a52 Updates 2015-02-08 22:10:24 -06:00
Marcos Kirsch
3d4e4ee501 First pass of server. Not fully operational. Basic GET works, serves requested file. But server runs out of memory or/and only works with one connection. 2015-02-08 22:09:20 -06:00
Marcos Kirsch
3e452992c8 Renamed file and minor cleanup. 2015-02-08 22:08:18 -06:00
Marcos Kirsch
a8d408f375 Some example HTML file. 2015-02-08 22:06:50 -06:00
Marcos Kirsch
1ff3867733 Base64 decoding function is operational 2015-02-08 22:05:08 -06:00
Marcos Kirsch
a86b6711bb Cleaned up 2015-02-08 22:03:44 -06:00
Marcos Kirsch
4dffc7009d Function for Base64 decoding, needed for luatool.py binary uploads 2015-02-07 12:30:03 -06:00
Marcos Kirsch
b1f87f3ffa Functional Base64 prior to cleanup 2015-02-07 12:12:48 -06:00
Marcos Kirsch
1c709b838b Minimalistic server can be started and returns hardcoded message, prior to cleanup 2015-02-06 21:54:25 -06:00
Marcos Kirsch
ba390bb855 Renamed file. 2015-02-06 20:58:00 -06:00
Marcos Kirsch
f52e8f47e6 Add all files to source control even though they are messy and don't do much yet 2015-02-02 19:01:24 -06:00
Marcos
49d8dc8d43 Initial commit 2015-02-02 18:44:41 -06:00