https://github.com/obsidiansystems/snap-stream
Snap handlers for streaming access with range requests
https://github.com/obsidiansystems/snap-stream
haskell range-requests snap
Last synced: 3 months ago
JSON representation
Snap handlers for streaming access with range requests
- Host: GitHub
- URL: https://github.com/obsidiansystems/snap-stream
- Owner: obsidiansystems
- License: bsd-3-clause
- Created: 2018-08-08T19:13:57.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2024-01-25T20:05:11.000Z (over 1 year ago)
- Last Synced: 2024-12-28T13:13:19.713Z (5 months ago)
- Topics: haskell, range-requests, snap
- Language: Haskell
- Homepage:
- Size: 15.6 KB
- Stars: 1
- Watchers: 3
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: readme.md
- Changelog: changelog.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# snap-stream
[](https://haskell.org) [](https://hackage.haskell.org/package/snap-stream) [](https://github.com/obsidiansystems/snap-stream/actions) [](https://github.com/obsidiansystems/snap-stream/blob/master/LICENSE)
[Snap](https://hackage.haskell.org/package/snap) handlers for HTTP [range requests](https://developer.mozilla.org/en-US/docs/Web/HTTP/Range_requests).
This package provides a way to respond to an HTTP request for a particular range of bytes. Range requests include a header that specifies which bytes the client is requesting (e.g., `Range: bytes=0-1023`). See the documentation for `serveStreamAs`.