Gregor
|
9b33c564db
|
use httpserver-header.lua in httpserver-error.lua implementation
Add all HTTP response codes used in the project
allow extra headers to be passed
|
2017-05-29 20:55:42 +02:00 |
|
Marcos Kirsch
|
2e25a63807
|
Improved logging via serial.
Created a single log function that prints a standard message that
includes IP and port of client. Remove or commented out other debug
prints.
|
2017-02-04 21:50:57 -06:00 |
|
Marcos Kirsch
|
1b4a2c9d9a
|
Concatenate .. less in lua since BufferedConnection will do it for us anyway:
|
2016-02-21 12:23:06 -06:00 |
|
Marcos Kirsch
|
fbc6506faa
|
Merged with main repository
|
2016-02-15 20:54:11 -06:00 |
|
Marcos Kirsch
|
1b14a516aa
|
Fix bugs for newer nodemcu-firmware: new firmware does not allow queuing multiple connection:send() operations. These changes ensure we yield after every send except the last one.
|
2016-02-15 13:52:01 -06: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 |
|
Samuel A. Dieck
|
be63ee0093
|
Added basic auth. Added static settings file
|
2015-07-18 23:17:14 -05:00 |
|
Marcos Kirsch
|
ead632d131
|
Refactoring - function for sending headers is now in its own file. All errors are sent using coroutine. Some other memory usage improvements
|
2015-04-19 23:42:58 -05:00 |
|
Marcos Kirsch
|
76c2895f04
|
Minimum changes to print formatting
|
2015-04-18 23:15:10 -05:00 |
|
Marcos Kirsch
|
77920f4a94
|
Big refactoring: server now uses a separate thread that yields and then resumes on 'sent'. This allows us to serve large files. Moved serving of error pages and serving of static files into separate scripts httpserver-error.lua and httpserver-static.lua
|
2015-02-28 16:39:06 -06:00 |
|