DisallowedCORSRequestError

exception gafaelfawr.exceptions.DisallowedCORSRequestError

Bases: OAuthBearerError

The OPTIONS CORS preflight check was rejected.

error: ClassVar[str] = 'cors_preflight_rejected'

The RFC 6749 or RFC 6750 error code for this exception.

message: ClassVar[str] = 'Cross-origin request not allowed'

The summary message to use when logging this error.

status_code: int = 403

The status code to use for this HTTP error.