Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Let header() support unicode input, like decode(). #48

Merged
merged 1 commit into from
Nov 26, 2014

Conversation

skion
Copy link
Contributor

@skion skion commented Nov 26, 2014

When invoking header() before decode() on the same JWT, you could run into DecodeError("Invalid header encoding") if the JWT input was unicode. This aligns header() with decode().

progrium added a commit that referenced this pull request Nov 26, 2014
Let `header()` support unicode input, like `decode()`.
@progrium progrium merged commit 9a5bde4 into jpadilla:master Nov 26, 2014
@skion skion deleted the header branch November 26, 2014 15:53
@jpadilla
Copy link
Owner

👍

@jpadilla
Copy link
Owner

jpadilla commented Dec 3, 2014

@skion released this on PyPI with v0.3.1. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants