mirror of
https://github.com/invariantlabs-ai/invariant-gateway.git
synced 2026-10-05 04:16:50 +02:00
Moves ignored_headers to constants and reformatted anthropic.py
This commit is contained in:
1 parent
2789ec2b98
commit
1a7cebbb52
3 files changed
+33
-38
No files matched your search
@@ -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",
|
||||
]
|
||||
Reference in new issue
Block a user