CONSTRUCT-Sparql-Request fails with "no result format specified or unsupported format".
In SparqlWebService.select an extensive request header parsing is done to determine the best content type to use for the response.
Reason: in the above environment - the method
does not produce a list with each requested accept header, instead a list with a single entry containing all accept headers is created - example below:
This string is then further parsed with
where the string is split into tokens. Problem: the leading space after each comma (",") is not stripped!!
Solution: in MarmottaHttpUtils.java, method "parseContentType", each token should be trimmed - line 132.
Just provided the patch to "develop" branch