We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bd17d3e commit cd6641fCopy full SHA for cd6641f
packages/smithy-http/src/smithy_http/aio/restjson.py
@@ -30,6 +30,7 @@ async def parse_rest_json_error_info(
30
for field in http_response.fields:
31
if field.name.lower() == _REST_JSON_CODE_HEADER:
32
code = field.values[0]
33
+ break
34
35
if check_body:
36
if body := await http_response.consume_body_async():
0 commit comments