From e5a5625e9a187c6ec1b179d6fb001a3b4aff1a53 Mon Sep 17 00:00:00 2001 From: anonmanak2000 Date: Fri, 14 Jun 2024 00:53:52 +0530 Subject: [PATCH] Updating Usage documentation to fix Issue - Preflight checks with CORS #39 --- README.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.rst b/README.rst index 06f978b..e5baa7f 100644 --- a/README.rst +++ b/README.rst @@ -38,7 +38,7 @@ user to the ``request context`` user_loader = lambda username, password: { 'username': username } auth_backend = BasicAuthBackend(user_loader) auth_middleware = FalconAuthMiddleware(auth_backend, - exempt_routes=['/exempt'], exempt_methods=['HEAD']) + exempt_routes=['/exempt'], exempt_methods=['OPTIONS','HEAD']) api = falcon.API(middleware=[auth_middleware]) class ApiResource: