Aklakan opened a new pull request, #3441:
URL: https://github.com/apache/jena/pull/3441
GitHub issue resolved (Can create one if desired)
Pull request Description: Headers configured on `RDFConnectionRemoteBuilder`
were not passed on to the created `QueryExecHTTPBuilder` instances when
parseCheck was disabled. For example, setting the select-header to thrift on a
connection to DBpedia would unexpectedly work - although DBpedia (so far) does
not support this content type.
* Added "set-acceptHeader" methods to `QueryExecHTTPBuilder`. Headers are on
response format level - e.g. one graph header for describe, construct and GSP
GET. If desired, fine grained setters for each aspect could be added.
* `RDFConnectionRemoteBuilder` initializes created `QueryExecHTTPBuilder`
instances with its headers.
* Added `QueryExecHTTP.getAcceptHeader` methods to inspect the headers for
the query types.
Unrelated minor fix: Quad.isConcrete() would raise NPE if the graph was null
("true triple in quad").
----
- [x] Tests are included.
- [x] Commits have been squashed to remove intermediate development commit
messages.
- [ ] Key commit messages start with the issue number (GH-xxxx)
By submitting this pull request, I acknowledge that I am making a
contribution to the Apache Software Foundation under the terms and conditions
of the [Contributor's
Agreement](https://www.apache.org/licenses/contributor-agreements.html).
----
See the [Apache Jena "Contributing"
guide](https://github.com/apache/jena/blob/main/CONTRIBUTING.md).
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]