WIPACrepo / file_catalog

Store file metadata information in a file catalog
MIT License
1 stars 4 forks source link

404 Does Not Work for PUT & PATCH #103

Closed ric-evans closed 3 years ago

ric-evans commented 3 years ago

For PUT and PATCH requests, 404s are expected to be sent back if the given uuid is not present in the DB. This is not happening.

This leads to an internal error here, for example: https://github.com/WIPACrepo/file_catalog/blob/master/file_catalog/server.py#L619

We should send a 404 ASAP.