Add return type hint to forward_headers_from_request method (#23693)

- Added missing Dict return type annotation to improve type safety
- Enhances IDE autocomplete and static type checking
- No functional changes, purely type annotation improvement

Co-authored-by: Vivek Vardhan <vivekvar.dl@gmail.com>
This commit is contained in:
vivek varikuti 2026-03-17 02:38:48 +05:30 • committed by GitHub
parent 2ae5999319
commit afb6fbefdc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -40,7 +40,7 @@ class BasePassthroughUtils:
request_headers: dict,
headers: dict,
forward_headers: Optional[bool] = False,
):
) -> dict:
"""
Helper to forward headers from original request.