mirror of
https://github.com/openseadragon/openseadragon.git
synced 2024-11-28 08:06:08 +03:00
Fix format of Range headers
This commit is contained in:
parent
b909caaf45
commit
4e6badc548
@ -44,7 +44,7 @@
|
|||||||
// in tileByteRanges.
|
// in tileByteRanges.
|
||||||
getTileAjaxHeaders: function(level, x, y) {
|
getTileAjaxHeaders: function(level, x, y) {
|
||||||
return {
|
return {
|
||||||
Range: "bytes " + tileManifest.tileRanges[level][x][y].join("-") + "/" + tileManifest.totalSize
|
Range: "bytes=" + tileManifest.tileRanges[level][x][y].join("-") + "/" + tileManifest.totalSize
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
@ -27,7 +27,7 @@
|
|||||||
// in tileByteRanges.
|
// in tileByteRanges.
|
||||||
getTileAjaxHeaders: function(level, x, y) {
|
getTileAjaxHeaders: function(level, x, y) {
|
||||||
return {
|
return {
|
||||||
Range: 'bytes ' + tileManifest.tileRanges[level][x][y].join('-') + '/' + tileManifest.totalSize
|
Range: 'bytes=' + tileManifest.tileRanges[level][x][y].join('-') + '/' + tileManifest.totalSize
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user