inrupt / wac-ldp

A central component for Solid servers, handles Web Access Control and Linked Data Platform concerns.
MIT License
12 stars 5 forks source link

error in WriteBlobHandler #165

Closed michielbdejong closed 5 years ago

michielbdejong commented 5 years ago

one terminal:

~/gh/inrupt/wac-ldp $ DEBUG=* SKIP_WAC=true npm start

other terminal:

$ curl -X PUT -d'hi' http://localhost:8080/asdf
Internal server error
michielbdejong commented 5 years ago

It does a getData and that throws a 'not found' error. I should split Blob#getData into getMetaData and getBody.

michielbdejong commented 5 years ago

500 error resolved now. It should be:

curl -X PUT -H'If-None-Match: *' -d'hi' http://localhost:8080/asdf