Skip to content

Commit 5e11df6

Browse files
committed
added passthrough header in gateway read
Signed-off-by: kumar-tiger <[email protected]>
1 parent 87bec7e commit 5e11df6

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

mcpgateway/schemas.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1983,6 +1983,10 @@ class GatewayRead(BaseModelWithConfigDict):
19831983

19841984
last_seen: Optional[datetime] = Field(default_factory=lambda: datetime.now(timezone.utc), description="Last seen timestamp")
19851985

1986+
passthrough_headers: Optional[List[str]] = Field(
1987+
default=None,
1988+
description="List of headers allowed to be passed through from client to target"
1989+
)
19861990
# Authorizations
19871991
auth_type: Optional[str] = Field(None, description="auth_type: basic, bearer, headers or None")
19881992
auth_value: Optional[str] = Field(None, description="auth value: username/password or token or custom headers")

0 commit comments

Comments
 (0)