Page MenuHomeSoftware Heritage

Fix HTTP status code for internal server errors
ClosedPublic

Authored by anlambert on Nov 5 2019, 2:59 PM.

Details

Summary

Ensure that an HTTP status code equal to 500 is returned in case of internal
server error when querying the swh Web API.

Also add a test to check returned status codes and update some.

Diff Detail

Repository
rDWAPPS Web applications
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.