Skip to content

Conversation

masci
Copy link

@masci masci commented Jun 7, 2016

The generator should yield a decoded object if the the _stream_helper was invoked with the decode=True option in the first place.

Added test case to address the specific issue.

Signed-off-by: Massimiliano Pippi <massi@datadoghq.com>
@shin-
Copy link
Contributor

shin- commented Aug 23, 2016

Thanks!

Hm, that's interesting. I don't know if we can or should count on the response being a JSON object in that situation. On the other hand, if it's truly an error case like we assume, it doesn't matter whether we pass the json parameter or not.

All in all, seems fairly safe. LGTM!

@shin- shin- merged commit fb41965 into docker:master Aug 23, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants