1
0
mirror of https://github.com/home-assistant/core.git synced 2025-12-24 12:59:34 +00:00

Add and use HTTP_FORBIDDEN constant (#33839)

This commit is contained in:
springstan
2020-04-09 17:41:17 +02:00
committed by GitHub
parent 70ee9d7f26
commit bc26be3c11
15 changed files with 60 additions and 37 deletions

View File

@@ -527,6 +527,7 @@ HTTP_CREATED = 201
HTTP_MOVED_PERMANENTLY = 301
HTTP_BAD_REQUEST = 400
HTTP_UNAUTHORIZED = 401
HTTP_FORBIDDEN = 403
HTTP_NOT_FOUND = 404
HTTP_METHOD_NOT_ALLOWED = 405
HTTP_UNPROCESSABLE_ENTITY = 422