linkeddata / rdflib.js

Linked Data API for JavaScript
http://linkeddata.github.io/rdflib.js/doc/
Other
564 stars 143 forks source link

kb fetcher.webOperations('GET', ...) returns falsly response.responseText undefined #506

Closed bourgeoa closed 3 years ago

bourgeoa commented 3 years ago

from https://github.com/solid/source-pane/issues/17

rdflib.js in kb.fetcher.webOperations() is responsible of the problem. response.responseText on some situation returns undefined. Replacing by await response.text() returns correctly the body.

timbl commented 3 years ago

Interesting ... here is a debugger dump of the response object when this problem arises: image

timbl commented 3 years ago

It is strange that the obejct does not have a response.body() getter which https://developer.mozilla.org/en-US/docs/Web/API/Response says it should, as the Response also mixes in: image

bourgeoa commented 3 years ago

This is not only a chrome bug only I got it also on firefox.