-
Notifications
You must be signed in to change notification settings - Fork 177
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Do not fail on empty values for mutli-valued headers
Before this change user would receive a ValueError: not enough values to unpack if the session property, role or prepared statements headers existed but had empty values. While Trino itself doesn't send empty headers it's possible for them to be present because of some proxy or gateway sitting between client and the server.
- Loading branch information
1 parent
0399b86
commit c412976
Showing
2 changed files
with
27 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters