We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ad2ceae commit 4a2a6a3Copy full SHA for 4a2a6a3
sentry_sdk/transport.py
@@ -949,7 +949,9 @@ def flush( # type: ignore[override]
949
950
def _get_pool_options(self: "Self") -> "Dict[str, Any]":
951
return self._get_httpcore_pool_options(
952
- http2=self.parsed_dsn is not None and self.parsed_dsn.scheme == "https"
+ http2=HTTP2_ENABLED
953
+ and self.parsed_dsn is not None
954
+ and self.parsed_dsn.scheme == "https"
955
)
956
957
def _make_pool(
0 commit comments