From 6126ae308d7d7add4f7518a73adaad7c9ee24a02 Mon Sep 17 00:00:00 2001 From: Kevin Reynolds Date: Mon, 29 Apr 2024 19:53:27 -0400 Subject: [PATCH] moving on --- labapp/app/app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/labapp/app/app.py b/labapp/app/app.py index 871ccf4..c0ade27 100644 --- a/labapp/app/app.py +++ b/labapp/app/app.py @@ -61,7 +61,7 @@ def headers_cleaner(headers): """ Remove headers that contain specific substrings. """ - unwanted_substrings = ['x-envoy', 'x-cloudfront', 'cloudfront-', 'X-k8se'] + unwanted_substrings = ['x-envoy', 'cloudfront', 'x-k8se'] filtered_headers = { key: value for key, value in headers.items() if not any(substring in key.lower() for substring in unwanted_substrings)