Fixes API return HTTP return types and messages

This commit is contained in:
Sergi Delgado Segura
2020-03-27 12:07:26 +01:00
parent 2fcdc7eacc
commit 9e798916d1
2 changed files with 15 additions and 6 deletions

View File

@@ -5,6 +5,7 @@ LOCATOR_LEN_BYTES = LOCATOR_LEN_HEX // 2
# HTTP
HTTP_OK = 200
HTTP_BAD_REQUEST = 400
HTTP_NOT_FOUND = 404
HTTP_SERVICE_UNAVAILABLE = 503
# Temporary constants, may be changed