Fix format of Range headers

This commit is contained in:
Sean Nichols 2017-05-08 15:24:55 -04:00
parent b909caaf45
commit 4e6badc548
2 changed files with 2 additions and 2 deletions

View File

@ -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
}; };
}, },
}; };

View File

@ -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
}; };
}, },
}; };