We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Operating system: OS X
Python version: 3.6.4
LAKEsuperior release, branch, or commit #: 1.0.0-alpha12 from pypi
curl -XPATCH -i localhost:8000/ldp/ -H"Content-Type: application/sparql-update" --data-binary @sparql.txt
(The same sparql update applied to a non-root resource succeeds)
INSERT { <> <http://purl.org/dc/terms/subject> [ a <http://example.org/Subject> ; <http://www.w3.org/2000/01/rdf-schema#label> "A subject" ] } WHERE {}
Response:
HTTP/1.1 405 METHOD NOT ALLOWED Server: gunicorn/19.7.1 Date: Mon, 09 Apr 2018 18:51:11 GMT Connection: keep-alive Content-Type: text/html Allow: HEAD, POST, GET, OPTIONS Content-Length: 178
A successful response (e.g. 200 or 204)
I notice that PATCH is not included in the Allow header, but the root resource also advertises the Allow-Patch header, so it's a little inconsistent.
Allow
Allow-Patch
The text was updated successfully, but these errors were encountered:
Fixed in #50
Sorry, something went wrong.
scossu
No branches or pull requests
Environment
Operating system: OS X
Python version: 3.6.4
LAKEsuperior release, branch, or commit #: 1.0.0-alpha12 from pypi
Steps to reproduce
curl -XPATCH -i localhost:8000/ldp/ -H"Content-Type: application/sparql-update" --data-binary @sparql.txt
(The same sparql update applied to a non-root resource succeeds)
Observed behavior
Response:
Expected behavior
A successful response (e.g. 200 or 204)
Other notes worth mentioning
I notice that PATCH is not included in the
Allow
header, but the root resource also advertises theAllow-Patch
header, so it's a little inconsistent.The text was updated successfully, but these errors were encountered: