shelf_static 0.1.3 shelf_static: ^0.1.3 copied to clipboard
Static file server support for Shelf
0.1.3 #
createStaticHandler
addedserveFilesOutsidePath
optional parameter.
0.1.2 #
- The preferred top-level method is now
createStaticHandler
.getHandler
is deprecated. - Set
content-type
header if the mime type of the requested file can be determined from the file extension. - Respond with
304-Not modified
againstIF-MODIFIED-SINCE
request header. - Better error when provided a non-existant
fileSystemPath
. - Added
example/example_server.dart
.
0.1.1 #
- Correctly handle requests when not hosted at the root of a site.
- Send
last-modified
header. - Work around known issue with HTTP date formatting.