Constants reference
Following constants are importable from ariadne.constants
module:
CONTENT_TYPE_JSON
CONTENT_TYPE_JSON = 'application/json; charset=UTF-8'
CONTENT_TYPE_TEXT_HTML
CONTENT_TYPE_TEXT_HTML = 'text/html; charset=UTF-8'
CONTENT_TYPE_TEXT_PLAIN
CONTENT_TYPE_TEXT_PLAIN = 'text/plain; charset=UTF-8'
DATA_TYPE_JSON
DATA_TYPE_JSON = 'application/json'
DATA_TYPE_MULTIPART
DATA_TYPE_MULTIPART = 'multipart/form-data'
HTTP_STATUS_200_OK
HTTP_STATUS_200_OK = '200 OK'
HTTP_STATUS_400_BAD_REQUEST
HTTP_STATUS_400_BAD_REQUEST = '400 Bad Request'
HTTP_STATUS_405_METHOD_NOT_ALLOWED
HTTP_STATUS_405_METHOD_NOT_ALLOWED = '405 Method Not Allowed'