You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This comes from monkeypatch setting adapters.HTTPAdapter = InsecureAppEngineAdapter. When InsecureAppEngineAdapter is initialized it calls its way up to the requests library's HTTPAdapter using super. Within HTTPAdapter::__init__ there is a call to super(HTTPAdapter, self).__init__(). At this point HTTPAdapter == InsecureAppEngineAdapter so it starts the __init__ process again, but now it starts at AppEngineAdapter since we aren't telling it not to validate_certificate it defaults to True
The text was updated successfully, but these errors were encountered:
Using
monkeypatch
withvalidate_certificate=False
as shown below does not have the desired effect and certificates continue to be checked.This comes from monkeypatch setting
adapters.HTTPAdapter = InsecureAppEngineAdapter
. WhenInsecureAppEngineAdapter
is initialized it calls its way up to therequests
library'sHTTPAdapter
usingsuper
. WithinHTTPAdapter::__init__
there is a call tosuper(HTTPAdapter, self).__init__()
. At this pointHTTPAdapter == InsecureAppEngineAdapter
so it starts the__init__
process again, but now it starts atAppEngineAdapter
since we aren't telling it not tovalidate_certificate
it defaults toTrue
The text was updated successfully, but these errors were encountered: