Open gzt036 opened 3 years ago
the problem is with vtk.js\Sources\IO\Core\DataAccessHelper\HttpDataAccessHelper.js Line 122
// Make request
xhr.open('GET', url, true);
xhr.responseType =
options.compression || array.dataType !== 'string'
? 'arraybuffer'
: 'text';
xhr.send();
xhr.responseType is set to 'arraybuffer', which is correct, the url to load is 1839938295fe4f0839c9df8d9fa67137.gz in public/headsq/data directory , after xhr.send(), instead of returning a 200 response, it opens a diaglog and returns a 204 response.
the http request to load headsq.vti always results in a 'download completed' dialog box, i tried with IE, chrome and firefox and the behaviour is the same. does this happen to you as well? just run the example in the development mode.