From efe676dbd51d1b91d1208d25216b7279a3f7bfd1 Mon Sep 17 00:00:00 2001 From: Steve Pulec Date: Wed, 11 Sep 2019 22:07:24 -0500 Subject: [PATCH] Add comment. --- moto/core/models.py | 1 + 1 file changed, 1 insertion(+) diff --git a/moto/core/models.py b/moto/core/models.py index 7ac8adba..63287608 100644 --- a/moto/core/models.py +++ b/moto/core/models.py @@ -198,6 +198,7 @@ class CallbackResponse(responses.CallbackResponse): botocore_mock = responses.RequestsMock(assert_all_requests_are_fired=False, target='botocore.vendored.requests.adapters.HTTPAdapter.send') responses_mock = responses._default_mock # Add passthrough to allow any other requests to work +# Since this uses .startswith, it applies to http and https requests. responses_mock.add_passthru("http")