Closed argahsuknesib closed 6 months ago
When doing a PATCH request to a resource, I get a 200 HTTP status code along with Patch applied successfully.
I will create a patch to also allow 200 code to not throw the error.
Hello @woutslabbinck , please merge the request https://github.com/woutslabbinck/SolidEventSourcing/pull/17
Merged, though maybe the 2xx spectrum would have been better
I think that only 200, 201, 202, 205, 218 in the status codes make sense as a possible response and not the whole 2xx spectrum.
Hello,
I am using the
editMetadata
function in the LDES Replayer library to a Node Solid Server.I get the error that something went wrong while patching the metadata, and throws and error and the app crashes. However, the metadata does get patched and it is shown in the log right after the error. Maybe the check with only 205, is kind of strict? Is it possible that there can be other HTTP status codes as a response?
Error in the console
The relevant issue on the LDES replayer repository is: https://github.com/SolidLabResearch/LDES-in-SOLID-Semantic-Observations-Replay/issues/30