comparison 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
comparison
equal deleted inserted replaced
1172:7b8e123ba043 1173:0f37b65fe7c2
98 ## HTTP codes ## 98 ## HTTP codes ##
99 HTTP_SEE_OTHER = 303 99 HTTP_SEE_OTHER = 303
100 HTTP_NOT_MODIFIED = 304 100 HTTP_NOT_MODIFIED = 304
101 HTTP_BAD_REQUEST = 400 101 HTTP_BAD_REQUEST = 400
102 HTTP_UNAUTHORIZED = 401 102 HTTP_UNAUTHORIZED = 401
103 HTTP_FORBIDDEN = 403
103 HTTP_NOT_FOUND = 404 104 HTTP_NOT_FOUND = 404
104 HTTP_INTERNAL_ERROR = 500 105 HTTP_INTERNAL_ERROR = 500
105 HTTP_SERVICE_UNAVAILABLE = 503 106 HTTP_SERVICE_UNAVAILABLE = 503
106 107
107 ## Cache ## 108 ## Cache ##