forked from homieiot/homie-esp8266
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
New - rewrite, filters and last-modified (homieiot#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.
- Loading branch information
1 parent
11b7bd1
commit afb7dd6
Showing
8 changed files
with
330 additions
and
240 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.