This Confluence wiki site, maintained by DuraSpace prior to the recent merger with LYRASIS, will transition from the duraspace.org domain to the lyrasis.org domain on Saturday, Nov 16 beginning at approximately 7pm ET. A period of downtime of 2-3 hours is expected. After the transition, this wiki will be available at https://wiki.lyrasis.org/. All links to duraspace.org wiki pages will be redirected to the correct lyrasis.org URL. If you have questions prior to or following the transition please contact: wikihelp@lyrasis.org.

Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

DSpace 7 has support for the range supports the HTTP Range header on the bitstream content endpoint. We can use this to just get parts of a bitstream, pause and resume downloads using a download manager or for other features such as basic HTML 5 video streaming video.. DSpace advertises this support with the "Accept-Ranges: bytes" response header.

Usage

The range Range header indicates which part of a bitstream the server should return, currently we support the following formats:

...

Note that DSpace only supports bytes as the unit.

ETAG

For the ETAG response header we use is populated with the checksum of a bitstream. This should allow users to check if a bitstream has been updated using a HTTP Head request.

HTTP-headers:

The following other HTTP-headers are supported

HeaderExplanation
If-None-MatchIf this is equal to the checksum of the requested bitstream, a 304 will be returned.
If-Modified-SinceThe bitstream will only be returned if it has been modified since the given date
If-MatchOnly returns the bitstream if If-Match contains the checksum or "*"
If-Not-Modified-SinceThe bitstream will only be returned if it has NOT been modified since the given date