Commit Graph

12 Commits

Author SHA1 Message Date
Me No Dev
18478e6520 do not compile SSL if disabled 2016-08-26 02:44:20 +03:00
Me No Dev
a14e93dd84 Initial SSL Implementation 2016-08-24 22:32:27 +03:00
Me No Dev
7f9bdec0f9 use uint8_t to store WebRequestMethod (#68)
so we can have server.on("/foo", HTTP_GET | HTTP_POST,
[](AsyncWebServerRequest *request) {}) to handle multiple methods.

this also saves a bit memory, enums are stored in int, which is 32bit on
xtensa. since we only have 7 methods (plus HTTP_ANY for everything) we
only want 7 bit, so uint8_t is pretty sufficient.
2016-08-19 22:21:08 +03:00
Hagai Shatz
afb7dd688a New - rewrite, filters and last-modified (#47)
* New - server.rewirte() to rewrite the request url with optional get parameters injection.
New - rewrite.setFilter() and handler.setFilter() to specify a filter callback for more control on when to include them.
New - static file handler can be set with Last-Modified header value to support Not-Modified (304) response instead of serving the actual file.

* Remove clearRewrites & clearHandlers from server.mplement server distractor to delete internal members. Fixed and improved gzip stats calculation.
2016-06-25 22:04:06 +03:00
Me No Dev
d65e4bd4e5 collect all headers for the default handler 2016-04-20 22:26:19 +03:00
Me No Dev
b1e1450bfb stability improvements for low memory 2016-04-08 17:43:16 +03:00
Me No Dev
c05f719f32 fix whatever went wrong the previous time 2016-02-09 02:56:01 +02:00
Me No Dev
3bc54a8071 Revert "Merge pull request #13 from me-no-dev/improved-parsing"
This reverts commit c95ac73753, reversing
changes made to 97c938803c.
2016-02-09 02:32:14 +02:00
Me No Dev
40d5d4415e Rearrange and rename files and add index to chunked responses 2016-02-09 01:47:03 +02:00
Me No Dev
f302509f9e collect all headers for any callback based handler 2015-12-19 21:09:29 +02:00
Me No Dev
3b7054a3dd fix cmpiler complains 2015-12-19 19:50:42 +02:00
Me No Dev
b1f276a1a7 Initial Import 2015-12-19 18:53:33 +02:00