jivago.config.router.cors_rule module

class jivago.config.router.cors_rule.CorsRule(path: str, cors_headers: dict)[source]

Bases: jivago.config.router.router_config_rule.RouterConfigRule

inject_headers(headers: jivago.wsgi.request.headers.Headers) → None[source]
matches(path: str) → bool[source]
takes_precedence_over(other: jivago.config.router.cors_rule.CorsRule) → bool[source]