[
https://issues.apache.org/jira/browse/JENA-715?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14032644#comment-14032644
]
Andy Seaborne commented on JENA-715:
------------------------------------
Looks good - patch applied, thanks. (It'll depend on the format of the error
but plain text is quite common and this is useful in that case.)
> Read payload for errors in HttpOp
> ---------------------------------
>
> Key: JENA-715
> URL: https://issues.apache.org/jira/browse/JENA-715
> Project: Apache Jena
> Issue Type: Improvement
> Components: ARQ
> Reporter: Kristian Rosenvold
> Assignee: Andy Seaborne
> Priority: Minor
> Fix For: Jena 2.12.0
>
> Attachments: payload.patch
>
>
> Some sparql servers (virtuoso) will return a http entity with an error
> message when commands go wrong. In combined setups using both fuseki and
> virtuso, the jena client cannot be used since it ignores proper errors from
> virtuoso.
> The enclosed patch adds the response payload to the error, the existing
> behaviour just throws away the payload upon errors.
--
This message was sent by Atlassian JIRA
(v6.2#6252)