Skip to content

api/server: Ensure to return a 404 status code for not found object

When an ObjNotFoundError is raised by an objstorage RPC endpoint implementation, ensure that a 404 HTTP status code will be returned for consistency.

Previously, a 400 HTTP status code was returned.

Depends on swh-core!330 (closed)


Migrated from D8228 (view on Phabricator)

Merge request reports

Loading