module Azu::Handler::Headers

Defined in:

azu/handler/cors.cr

Constant Summary

ALLOW_CREDENTIALS = "Access-Control-Allow-Credentials"
ALLOW_EXPOSE = "Access-Control-Expose-Headers"
ALLOW_HEADERS = "Access-Control-Allow-Headers"
ALLOW_MAX_AGE = "Access-Control-Max-Age"
ALLOW_METHODS = "Access-Control-Allow-Methods"
ALLOW_ORIGIN = "Access-Control-Allow-Origin"
ORIGIN = "Origin"
REQUEST_HEADERS = "Access-Control-Request-Headers"
REQUEST_METHOD = "Access-Control-Request-Method"
VARY = "Vary"
X_ORIGIN = "X-Origin"