Further work-in-progress, basic packing and inspecting

This commit is contained in:
Laurence Withers 2019-03-05 18:41:02 +00:00
commit d836bf3cc7
5 changed files with 375 additions and 8 deletions

View file

@ -1,7 +1,7 @@
# HTTP resource pack server
A common scenario is that you have a set of static resources that you want to
server up quickly via HTTP (for example: stylesheets, WASM).
serve up quickly via HTTP (for example: stylesheets, WASM).
This package provides a `net/http`-compatible `http.Handler` to do so, with
support for:
@ -20,4 +20,3 @@ The workflow is as follows:
Only the minimal header processing necessary for correctness (Content-Length,
etc.) is carried out by `htpack.Handler`; the handler can be combined with
middleware for further processing (adding headers, `http.StripPrefix`, etc.).