Skip to content

Conversation

@xordoquy
Copy link
Contributor

@xordoquy xordoquy commented Apr 5, 2016

Description

#4025 introduced a string_types comparison before encoding headers data. However, string_types are both binary and unicode in Python 2 and we don't want to encode binary data.

This change fixes that error by using text_types instead.

@xordoquy xordoquy added this to the 3.4.0 Release milestone Apr 5, 2016
@lovelydinosaur lovelydinosaur merged commit 019c6db into encode:master Apr 7, 2016
@lovelydinosaur
Copy link
Contributor

Thanks!

xordoquy added a commit that referenced this pull request Apr 7, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants