Skip to content

Commit

Permalink
moving on
Browse files Browse the repository at this point in the history
  • Loading branch information
Kevin Reynolds committed Apr 29, 2024
1 parent 7c1e104 commit 6126ae3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion labapp/app/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 6126ae3

Please sign in to comment.