-
Notifications
You must be signed in to change notification settings - Fork 170
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add custom headers #2016
base: master
Are you sure you want to change the base?
Add custom headers #2016
Conversation
add headers and support crt
# Conflicts: # pom.xml
# Conflicts: # pom.xml
I have read the CLA Document and I hereby sign the CLA You can retrigger this bot by commenting recheck in this Pull Request. Posted by the CLA Assistant Lite bot. |
Overview
SNOW-Add custom headers
Pre-review self checklist
master
branchmvn -P check-style validate
)mvn verify
and inspecttarget/japicmp/japicmp.html
)SNOW-XXXX:
External contributors - please answer these questions before submitting a pull request. Thanks!
What GitHub issue is this PR addressing? Make sure that there is an accompanying issue to your PR.
Issue: #2015
Fill out the following pre-review checklist:
@SnowflakeJdbcInternalApi
(note that public/protected methods/fields in classes marked with this annotation are already internal)Please describe how your code solves the related issue.
There is no options to add custom headers on each snowflake request (login, query, telemetry, heartbeat etc..)
This is needed in our case because we are calling snowflake from proxy and proxy enforce us to add jwt in some custom header.
This change
add an option to add map of custom headers in session coonig.
make sure headers are added on each request