diff --git a/CyberCP/secMiddleware.py b/CyberCP/secMiddleware.py index 0ea1e22dc..b6dad1d50 100755 --- a/CyberCP/secMiddleware.py +++ b/CyberCP/secMiddleware.py @@ -63,7 +63,7 @@ def __call__(self, request): # if os.path.exists(ProcessUtilities.debugPath): # logging.writeToFile(f'Final actual URL without QS {FinalURL}') - if request.method == 'POST': + if request.method == 'POST' or request.method == 'OPTIONS': try: # logging.writeToFile(request.body)