Feature Request: Magic for deactivating content negotiation workarounds in sparqlwrapper
sparqlwrapper is using some workarounds [1] to do content negotiation, appending product-specific HTTP query parameters to the request. This workaround is enabled in sparqlwrapper by default.
There are SPARQL endpoints that implement standard content negotiation behavior using the media-type from the accept-header and fail if they get requests with the query parameters from the workaround. Because of that, sparql-kernel currently does not work on those endpoints.
Good news is, that sparqlwrapper already has an option onlyConneg [2] to deactivate said workarounds.
Exposing the onlyConneg option as magic in sparql-kernel would therefore make it possible to use sparql-kernel also on SPARQL endpoints that are stricter on the standard.
1: https://github.com/RDFLib/sparqlwrapper/blob/master/SPARQLWrapper/Wrapper.py#L608-L622 2: https://github.com/RDFLib/sparqlwrapper/blob/master/SPARQLWrapper/Wrapper.py#L292-L300