10 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
c0d6218397 Support for Lua scripts 2015-02-15 16:51:21 -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
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
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
1c709b838b Minimalistic server can be started and returns hardcoded message, prior to cleanup 2015-02-06 21:54:25 -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