Dorthu / openapi3

A Python3 OpenAPI 3 Spec Parser
BSD 3-Clause "New" or "Revised" License
118 stars 47 forks source link

Handle encodings returned in the Content-type header #66

Closed Dorthu closed 2 years ago

Dorthu commented 2 years ago

Closes #64

Python's requests library should handle decoding the response for us using any encoding information included in the Content-type header, so we can safely ignore it when checking the response against the expected response types.

FelixSchwarz commented 2 years ago

I would really help me if you could merge this pull request. A quick pypi release 1.6.2 would be even better :-)

Dorthu commented 2 years ago

Done, sorry for the delay