RDFLib / sparqlwrapper

A wrapper for a remote SPARQL endpoint
https://sparqlwrapper.readthedocs.io/
Other
513 stars 121 forks source link

Set default header Accept-Encoding: gzip #172

Open kernc opened 2 years ago

kernc commented 2 years ago

To minimize network traffic use, the wrapper should on its own and by default set the popular request header Accept-Encoding: gzip and then counsel response header Content-Encoding to optionally pipe response data through gzip.decompress.