Skip to content
Snippets Groups Projects
http_codes.py 238 B
Newer Older
  • Learn to ignore specific revisions
  • """
    This module defines all the http status codes thats used in the api.
    """
    
    
    OK = 200
    
    NO_CONTENT = 204
    
    BAD_REQUEST = 400
    UNAUTHORIZED = 401
    FORBIDDEN = 403
    NOT_FOUND = 404
    GONE = 410
    INTERNAL_SERVER_ERROR = 500
    SERVICE_UNAVAILABLE = 503