ngaranko opened a new pull request #14701:
URL: https://github.com/apache/airflow/pull/14701
Use Request's `session.request` factory for HTTP request initiation, this
will use environment variables and sensible defaults for requests.
Also use `verify` option only if it is provided to `run` method, as requests
library already defaults to `True`.
---
Backstory for this PR:
Our organization uses firewalls and custom SSL certificates to communicate
between systems, this can be achieved via `CURL_CA_BUNDLE` and
`REQUESTS_CA_BUNDLE` environment variables.
Requests library takes both into account and uses them as default value for
`verify` option when sending request to remote system.
Current implementation is setting `verify` to True, which overwrites
defaults and as results requests can not be made due to SSL verification
issues. This PR is fixing the problem.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]