Module cors

Source
Expand description

CORS handling utility functions

Structs§

Origin
Request Origin

Enums§

AccessControlAllowOrigin
Origins allowed to access
CorsHeader
CORS Header Result.
OriginProtocol
Origin Protocol

Functions§

get_cors_header
Returns correct CORS header (if any) given list of allowed origins and current origin.