fixup missing line

This commit is contained in:
Omer Shamash 2024-04-15 13:25:19 +03:00 committed by GitHub
parent 653533566e
commit e027e3b74c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 0 deletions

View File

@ -294,6 +294,7 @@ def get_request_handler(
if sub_response.status_code:
response_args["status_code"] = sub_response.status_code
# Some response classes handle serialization themselves via iteration
content = raw_response
if not hasattr(actual_response_class, 'body_iterator'):
content = await serialize_response(
field=response_field,