Enum actix_web::middleware::cors::CorsError [−][src]
A set of errors that can occur during processing CORS
Variants
MissingOrigin
The HTTP request header Origin
is required but was not provided
BadOrigin
The HTTP request header Origin
could not be parsed correctly.
MissingRequestMethod
The request header Access-Control-Request-Method
is required but is
missing
BadRequestMethod
The request header Access-Control-Request-Method
has an invalid value
BadRequestHeaders
The request header Access-Control-Request-Headers
has an invalid
value
MissingRequestHeaders
The request header Access-Control-Request-Headers
is required but is
missing.
OriginNotAllowed
Origin is not allowed to make this request
MethodNotAllowed
Requested method is not allowed
HeadersNotAllowed
One or more headers requested are not allowed
Trait Implementations
impl Debug for CorsError
[src]
[+]
impl Debug for CorsError
impl Fail for CorsError
[src]
[+]
impl Fail for CorsError
impl Display for CorsError
[src]
[+]
impl Display for CorsError
impl ResponseError for CorsError
[src]
[+]
impl ResponseError for CorsError