OptionsNotSupportedError

exception gafaelfawr.exceptions.OptionsNotSupportedError

Bases: OAuthBearerError

The OPTIONS request is not a valid CORS preflight request.

error: ClassVar[str] = 'options_not_supported'

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

message: ClassVar[str] = 'Non-CORS OPTIONS requests not supported'

The summary message to use when logging this error.

status_code: int = 404

The status code to use for this HTTP error.