jivago.wsgi.routing.cors.cors_request_handler_factory module

class jivago.wsgi.routing.cors.cors_request_handler_factory.CorsRequestHandlerFactory(cors_rules: List[jivago.config.router.cors_rule.CorsRule])[source]

Bases: object

apply_cors_rules(path: str, route_handler: jivago.wsgi.invocation.route_handler.RouteHandler) → jivago.wsgi.invocation.route_handler.RouteHandler[source]
create_cors_preflight_handler(path: str) → jivago.wsgi.routing.cors.cors_preflight_request_handler.CorsPreflightRequestHandler[source]