diff --git a/test/demo/customheaders.html b/test/demo/customheaders.html index 737cf863..95063052 100644 --- a/test/demo/customheaders.html +++ b/test/demo/customheaders.html @@ -44,7 +44,7 @@ // in tileByteRanges. getTileAjaxHeaders: function(level, x, y) { return { - Range: "bytes " + tileManifest.tileRanges[level][x][y].join("-") + "/" + tileManifest.totalSize + Range: "bytes=" + tileManifest.tileRanges[level][x][y].join("-") + "/" + tileManifest.totalSize }; }, }; diff --git a/test/modules/ajax-tiles.js b/test/modules/ajax-tiles.js index f662c301..12eeb7e6 100644 --- a/test/modules/ajax-tiles.js +++ b/test/modules/ajax-tiles.js @@ -27,7 +27,7 @@ // in tileByteRanges. getTileAjaxHeaders: function(level, x, y) { return { - Range: 'bytes ' + tileManifest.tileRanges[level][x][y].join('-') + '/' + tileManifest.totalSize + Range: 'bytes=' + tileManifest.tileRanges[level][x][y].join('-') + '/' + tileManifest.totalSize }; }, };