shelf_static 0.1.4+5
shelf_static: ^0.1.4+5 copied to clipboard
Static file server support for Shelf
0.1.4+5 #
- Handle differences in resolution between
DateTimeand HTTP date format.
0.1.4+4 #
- Using latest
shelf. Cleaned up test code by using new features.
0.1.4 #
- Added named (optional)
defaultDocumentargument tocreateStaticHandler.
0.1.3 #
createStaticHandleraddedserveFilesOutsidePathoptional parameter.
0.1.2 #
- The preferred top-level method is now
createStaticHandler.getHandleris deprecated. - Set
content-typeheader if the mime type of the requested file can be determined from the file extension. - Respond with
304-Not modifiedagainstIF-MODIFIED-SINCErequest 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-modifiedheader. - Work around known issue with HTTP date formatting.