-
Notifications
You must be signed in to change notification settings - Fork 0
CKAN plugin does not support brotli encoding #31
Copy link
Copy link
Open
Labels
bugSomething isn't workingSomething isn't working
Description
- CKAN plugin calls the SPARQL endpoint with
Accept-encoding: gzip, deflate, br(defaults of the http client used). - CKAN plugin receives
Content-encoding: brbut can't decompress it.
Error from logs:
docker logs lindas-test
Error: Decompression failed
at genericNodeError (node:internal/errors:983:15)
at BrotliDecoder.zlibOnError [as onerror] (node:zlib:190:17)
Tested locally:
- Trifid run with updated node_modules/lindas-trifid-plugin-ckan/src/ckan.js
- Test CKAN endpoint:
curl "http://localhost:8080/ckan?organization=https://register.ld.admin.ch/opendataswiss/org/elcom"
HTTP: 200, Time: ~1s
curl "http://localhost:8080/ckan?organization=https://register.ld.admin.ch/opendataswiss/org/bundesamt-fur
-umwelt-bafu"
HTTP: 200, Time: ~1.7s, 3957 lines
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working