We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7a66c38 commit c7d11beCopy full SHA for c7d11be
openapi_python_client/parser/openapi.py
@@ -234,9 +234,9 @@ def parse_request_binary_body(
234
"""Return binary_body"""
235
binary_body = None
236
for content_type, schema in body.content.items():
237
- content_type = get_content_type(content_type) # noqa: PLW2901
+ parsed_content_type = get_content_type(content_type) # noqa: PLW2901
238
239
- if content_type == "application/octet-stream":
+ if parsed_content_type == "application/octet-stream":
240
binary_body = schema
241
break
242
0 commit comments