Azu::Handler::CORS
Inherits HTTP::Handler < Reference < Object
Constants
SECURITY: Empty by default - origins must be explicitly configured Previously was ["*", /./] which allowed all origins
FORBIDDEN = "Forbidden for invalid origins, methods or headers"
Constructors
Instance methods
call(context : HTTP::Server::Context)
Sourcecredentials
Sourceforbidden(context)
Sourceheaders
Sourcemax_age
Sourcemethods
Sourceorigins
Source