v0.20.0
Changed
- [@http/route] introduced a cross-runtime
staticRoute()
- [@http/route-deno] is now deprecated
Added
- [@http/fs] new package for filesystem based functions
- [@http/fs] added
fileBody()
as a cross-runtime way to turn a file into a
Response body - [@http/fs] added
serveDir()
/serveFile()
, adapted from
@std/http/file-server
- [@http/response] add responses required by
serveDir
/serveFile