Newer
Older
"""
This module defines all the http status codes thats used in the api.
"""
BAD_REQUEST = 400
UNAUTHORIZED = 401
FORBIDDEN = 403
NOT_FOUND = 404
GONE = 410
INTERNAL_SERVER_ERROR = 500
SERVICE_UNAVAILABLE = 503
"""
This module defines all the http status codes thats used in the api.
"""
BAD_REQUEST = 400
UNAUTHORIZED = 401
FORBIDDEN = 403
NOT_FOUND = 404
GONE = 410
INTERNAL_SERVER_ERROR = 500
SERVICE_UNAVAILABLE = 503