diff libervia/server/constants.py @ 1173:0f37b65fe7c2

server: replaced wrong usage of C.HTTP_UNAUTHORIZED by C.HTTP_FORBIDDEN
author Goffi <goffi@goffi.org>
date Fri, 03 May 2019 20:51:22 +0200
parents 76d75423ef53
children b2d067339de3
line wrap: on
line diff
--- a/libervia/server/constants.py	Fri May 03 13:08:41 2019 +0200
+++ b/libervia/server/constants.py	Fri May 03 20:51:22 2019 +0200
@@ -100,6 +100,7 @@
     HTTP_NOT_MODIFIED = 304
     HTTP_BAD_REQUEST = 400
     HTTP_UNAUTHORIZED = 401
+    HTTP_FORBIDDEN = 403
     HTTP_NOT_FOUND = 404
     HTTP_INTERNAL_ERROR = 500
     HTTP_SERVICE_UNAVAILABLE = 503