Skip to content
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

Bring derby's PATCH in line with fcrepo4's. #13

Closed
wants to merge 0 commits into from

Conversation

mbklein
Copy link

@mbklein mbklein commented Oct 11, 2016

fcrepo4 accepts sparql-update patches with <> subjects as placeholders for the URI of the request. It also returns 204 No Content on a successful patch instead of 200 OK. This pull request does both of those things from the derby side, because I was unsure whether this behavior should be part of LDP or whether it's specific to the Fedora implementation.

@no-reply
Copy link
Member

Awesome.

Agreed that this issue is fundamentally an rdf/rdf-ldp layer concern. The place to patch is: https://github.com/ruby-rdf/rdf-ldp/blob/develop/lib/rdf/ldp/rdf_source.rb#L168-L185

Is the 204 vs. 200, body/no-body issue a spec level issue?

@mbklein
Copy link
Author

mbklein commented Oct 13, 2016

Closing this out and submitting a PR to rdf/rdf-ldp. You were dead on about using the SPARQL gem to manipulate the input.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants