python-pinot-dbapi / pinot-dbapi

Python DB-API and SQLAlchemy dialect for Pinot
MIT License
19 stars 33 forks source link

Fix bug where equal sign could not be in value of header #84

Closed hugosjoberg closed 9 months ago

hugosjoberg commented 10 months ago

Fix bug in #83

If the value contains an = the code would crash. There are scenarios where the key could have an equal sign for example when passing in a bearer token.

This PR splits the header on the first = in the headers. This PR also adds a test case to verify that the change works as expected.