Mercurial > libervia-web
comparison 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 |
comparison
equal
deleted
inserted
replaced
933:e4c13a995e0b | 934:a21fee7e30ee |
---|---|
64 | 64 |
65 ## HTTP codes ## | 65 ## HTTP codes ## |
66 HTTP_BAD_REQUEST = 400 | 66 HTTP_BAD_REQUEST = 400 |
67 HTTP_UNAUTHORIZED = 401 | 67 HTTP_UNAUTHORIZED = 401 |
68 HTTP_NOT_FOUND = 404 | 68 HTTP_NOT_FOUND = 404 |
69 HTTP_INTERNAL_ERROR = 500 | |
70 HTTP_SERVICE_UNAVAILABLE = 503 |