Skip to content

Releases: Yelp/bravado

Fix UnicodeDecodeError when POST'ing binary files

24 Mar 21:49
Compare
Choose a tag to compare

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.

v0.7.4

16 Dec 00:18
Compare
Choose a tag to compare

Encode params to utf8.

Log level debug for request logging

11 Dec 22:23
Compare
Choose a tag to compare

v0.7.2

10 Dec 16:19
Compare
Choose a tag to compare

Allow headers to be sent with api doc request

v0.7.1

08 Dec 20:34
Compare
Choose a tag to compare

Resolves issues arriving from mutation of async client.