-
Notifications
You must be signed in to change notification settings - Fork 5
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
Errors with LDP-NR resources #47
Comments
@acoburn I cannot reproduce this in the master or development branch. What is the output in |
For me there was no output in the error log. I'll try it again tomorrow with a clean environment. |
@acoburn Do you mind re-testing this with alpha 14? |
Tried with alpha 14: $ curl -i localhost:8000/ldp -XPOST -H"Content-Type: text/plain" --data-binary @file.txt
HTTP/1.1 500 INTERNAL SERVER ERROR
Server: gunicorn/19.7.1
Date: Wed, 25 Apr 2018 17:30:53 GMT
Connection: keep-alive
Content-Type: text/html
Content-Length: 291 Now I appear to be unable to POST the binary in the first place. (PUT continues to work fine) |
Closed
Merged
Fixed in d0a76c0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Environment
Operating system: OS X
Python version: 3.6
LAKEsuperior release, branch, or commit #: 1.0.0-alpha12 from pypi
Steps to reproduce
Given a file in
file.txt
with the content:And this request:
curl localhost:8000/ldp/ -XPOST -H"Content-Type: text/plain" -i --data-binary @file.txt
Then issue a GET request on the newly created resource.
Observed behavior
Expected behavior
The file contents. Or at least logs describing the error (there was nothing of interest in the error logs or in the console of the running application).
Other notes worth mentioning
Requests to the metadata (e.g. /fcr:metadata) respond correctly with RDF.
It is also worth noting that the binary is present on the filesystem in
./data/ldpnr_store
The text was updated successfully, but these errors were encountered: