Skip to content

Commit

Permalink
strip Request mimetype
Browse files Browse the repository at this point in the history
  • Loading branch information
jitka committed Apr 11, 2023
1 parent 7456c4b commit b2d50ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion openapi_core/contrib/requests/requests.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ def mimetype(self) -> str:
return str(
self.request.headers.get("Content-Type")
or self.request.headers.get("Accept")
)
).split(';')[0]


class RequestsOpenAPIWebhookRequest(RequestsOpenAPIRequest):
Expand Down

0 comments on commit b2d50ee

Please sign in to comment.