shelf_static 0.2.6 shelf_static: ^0.2.6 copied to clipboard
Static file server support for Shelf
0.2.6 #
- Add a
createFileHandler()
function that serves a single static file.
0.2.5 #
- Add an optional
contentTypeResolver
argument tocreateStaticHandler
.
0.2.4 #
- Add support for "sniffing" the content of the file for the content-type via an optional
useHeaderBytesForContentType
argument oncreateStaticHandler
.
0.2.3+4 #
- Support
http_parser
3.0.0.
0.2.3+3 #
- Support
shelf
0.7.0.
0.2.3+2 #
- Support
http_parser
2.0.0.
0.2.3+1 #
- Support
http_parser
1.0.0.
0.2.3 #
- Added
listDirectories
argument tocreateStaticHandler
.
0.2.2 #
-
Bumped up minimum SDK to 1.7.0.
-
Added support for
shelf
0.6.0.
0.2.1 #
- Removed
Uri
format checks now that the core libraries is more strict.
0.2.0 #
-
Removed deprecated
getHandler
. -
Send correct mime type for default document.
0.1.4+6 #
- Updated development dependencies.
0.1.4+5 #
- Handle differences in resolution between
DateTime
and HTTP date format.
0.1.4+4 #
- Using latest
shelf
. Cleaned up test code by using new features.
0.1.4 #
- Added named (optional)
defaultDocument
argument tocreateStaticHandler
.
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-existent
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.