diff options
author | Dave Barach <dave@barachs.net> | 2019-10-17 15:53:08 -0400 |
---|---|---|
committer | Florin Coras <florin.coras@gmail.com> | 2019-10-17 20:59:14 +0000 |
commit | 9929561a5d7388e655eadfaf458d27b96f00abd5 (patch) | |
tree | f36fd860a00659025097458e08acbe71ab552f50 /src/vlib | |
parent | 19cb04df063a85ab8e416a9f44fd47ff89857901 (diff) |
http_static: pass http request type to builtin handlers
Makes it easy to tell GETs from POSTs, etc., in case one wants to
register the same handler for multiple request types.
Return interface stats as a json array, makes .js code a lot simpler.
Type: refactor
Signed-off-by: Dave Barach <dave@barachs.net>
Change-Id: Iadae7b909cf3e8ea179fe93620737fdf68f888ac
Diffstat (limited to 'src/vlib')
0 files changed, 0 insertions, 0 deletions