changeset 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 e4c13a995e0b
children c3ae008f7a0f
files src/server/constants.py
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
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