Skip to content

Commit

Permalink
v30/31 - Request allow content-types besid application/json in response
Browse files Browse the repository at this point in the history
  • Loading branch information
hsunner authored and commonism committed Jul 12, 2023
1 parent 32085a7 commit 9a6905b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion aiopenapi3/v30/glue.py
Original file line number Diff line number Diff line change
Expand Up @@ -432,7 +432,9 @@ def _process(self, result):
).unmarshalled
return rheaders, data
else:
raise NotImplementedError()
# We have received a valid (i.e. expected) content type,
# but we can't validate it since it's not json.
return rheaders, ctx.received


class AsyncRequest(Request, AsyncRequestBase):
Expand Down

0 comments on commit 9a6905b

Please sign in to comment.