# -*- coding: utf-8 -*- """ Constants representing HTTP response statuses. Using of this constants is preferable over numeric literals for readability reasons. """ HTTP_200_OK = 200 HTTP_201_CREATED = 201 HTTP_202_ACCEPTED = 202 HTTP_204_NO_CONTENT = 204 HTTP_400_BAD_REQUEST = 400 HTTP_401_UNAUTHORIZED = 401 HTTP_404_NOT_FOUND = 404 HTTP_409_CONFLICT = 409 HTTP_415_UNSUPPORTED_MEDIA_TYPE = 415 HTTP_429_TOO_MANY_REQUESTS = 429 HTTP_502_BAD_GATEWAY = 502 HTTP_503_SERVICE_UNAVAILABLE = 503