mirror of
https://github.com/correl/openapi-core.git
synced 2024-11-22 03:00:10 +00:00
Update responses.py
This commit is contained in:
parent
89ec335210
commit
d79ad01e2f
1 changed files with 1 additions and 1 deletions
|
@ -8,7 +8,7 @@ class RequestsOpenAPIResponseFactory(object):
|
|||
def create(cls, response):
|
||||
mimetype = response.headers.get('Content-Type')
|
||||
return OpenAPIResponse(
|
||||
data=response.raw,
|
||||
data=response.content,
|
||||
status_code=response.status_code,
|
||||
mimetype=mimetype,
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue