-
Notifications
You must be signed in to change notification settings - Fork 24
Open
Description
for a query like *:*&wt=csv&rows=0 it throws an error
FetchError: invalid json response body at http://localhost:8983/solr/gettingstarted/select?*:*&rows=0&wt=csv reason: Unexpected token T in JSON at position 0 at node_modules/node-fetch/lib/body.js:48:31 at process._tickDomainCallback (internal/process/next_tick.js:135:7)
i think it is because of lines 106 and 164 in client.js where it always try to interpret response as json return res.json(); even if sometimes it should be return res.text();
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels