Releases: Yelp/bravado
Releases · Yelp/bravado
Fix UnicodeDecodeError when POST'ing binary files
When Resources/Operations are constructed from api-docs, all fields (e.g. 'method') are unicode. In python 2.7 httplib attempts string concatenation to construct POST bodies, which means that UnicodeDecodeErrors occur if one includes binary data as a parameter. Rather than change all api-doc fields to 'str', this branch casts only fields used in httplib.