Crate iron_cors [−] [src]
A CORS middleware for Iron.
See https://www.html5rocks.com/static/images/cors_server_flowchart.png for reference.
The middleware will return HTTP 400 Bad Request
if the Origin host is
missing or not allowed.
Preflight requests are not yet supported.
Structs
CorsMiddleware |
The struct that holds the CORS configuration. |