Trino python client doesn't respect forwarded HTTP header #494
Open
Description
Expected behavior
When Trino coordinator has http-server.process-forwarded=true set, connections over http can be assumed secured by LB or proxy and should be allowed.
Actual behavior
This client setting prevents such connections from occurring:
trino-python-client/trino/client.py
Line 438 in 4c57774
Steps To Reproduce
Connecting to trino via http using any authentication method will raise the error, with or without headers in place..
Log output
No response
Operating System
Windows
Trino Python client version
0.330.0
Trino Server version
464
Python version
3.11
Are you willing to submit PR?
- Yes I am willing to submit a PR!