We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3b35a4f commit 97aef6eCopy full SHA for 97aef6e
1 file changed
packages/smithy-http/src/smithy_http/aio/crt.py
@@ -178,7 +178,7 @@ async def send(
178
connection = await self._get_connection(request.destination)
179
180
# request_body_generator is HTTP/2-only in CRT; HTTP/1.1 must use body_stream
181
- if connection.version == crt_http.HttpVersion.Http2:
+ if connection.version is crt_http.HttpVersion.Http2:
182
crt_stream = connection.request(
183
crt_request,
184
request_body_generator=self._create_body_generator(request.body),
0 commit comments