New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Catch empty body PUT request error #871
Conversation
@awoods can you rebase this PR against |
@acoburn, rebased. |
Travis appears to have failed. Also, are we confident that all places that Jena might throw a |
Alternatives to mapping the Jena
However, the Jena exception seems likely to be the result of a |
I'd rather take wrap the statement and check for the cause. |
Sure. The downside, of course, is that there may be other places in the code that would benefit from a Jena |
Can we be sure what to produce (HTTP) for the generic case? |
Can you clarify that question? |
It's the same question with which I started. If you only have a |
I would answer that question with, "yes", since this particular scenario is the first time the However, if you would feel more comfortable with:
|
I honestly would. The semantics of |
New commit responds to comments. |
Yeah, I like that much better. Thanks! |
Catch empty body PUT request error
Resolves: https://jira.duraspace.org/browse/FCREPO-1667