Moves ignored_headers to constants and reformatted anthropic.py

This commit is contained in:
Hemang
2025-02-13 15:35:35 +01:00
parent 2789ec2b98
commit 1a7cebbb52
3 changed files with 33 additions and 38 deletions
+13
View File
@@ -0,0 +1,13 @@
"""Common constants used in the proxy."""
IGNORED_HEADERS = [
"accept-encoding",
"host",
"invariant-authorization",
"x-forwarded-for",
"x-forwarded-host",
"x-forwarded-port",
"x-forwarded-proto",
"x-forwarded-server",
"x-real-ip",
]