diff src/server/constants.py @ 934:a21fee7e30ee

server (constants): added HTTP_INTERNAL_ERROR and HTTP_SERVICE_UNAVAILABLE
author Goffi <goffi@goffi.org>
date Thu, 27 Apr 2017 01:09:57 +0200
parents 8a393ae90f8c
children dabecab10faa
line wrap: on
line diff
--- a/src/server/constants.py	Mon Apr 17 20:44:10 2017 +0200
+++ b/src/server/constants.py	Thu Apr 27 01:09:57 2017 +0200
@@ -66,3 +66,5 @@
     HTTP_BAD_REQUEST = 400
     HTTP_UNAUTHORIZED = 401
     HTTP_NOT_FOUND = 404
+    HTTP_INTERNAL_ERROR = 500
+    HTTP_SERVICE_UNAVAILABLE = 503