Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions packages/smithy-http/src/smithy_http/aio/restjson.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ async def parse_rest_json_error_info(
for field in http_response.fields:
if field.name.lower() == _REST_JSON_CODE_HEADER:
code = field.values[0]
break

if check_body:
if body := await http_response.consume_body_async():
Expand Down