Skip to content

Force method names to string. #55

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

Merged
merged 1 commit into from
Feb 10, 2016
Merged

Force method names to string. #55

merged 1 commit into from
Feb 10, 2016

Conversation

lostb1t
Copy link
Contributor

@lostb1t lostb1t commented Feb 10, 2016

The allowed methods list is printed directly into the template. In my case this results in unicode representation of the method names: "[u'GET', u'OPTIONS']"

Forcing the names in the list to a string should solve this problem.

@manosim
Copy link
Owner

manosim commented Feb 10, 2016

That works great! Thank you @docc

manosim pushed a commit that referenced this pull request Feb 10, 2016
Force method names to string.
@manosim manosim merged commit 4d68fa7 into manosim:master Feb 10, 2016
@manosim manosim added this to the Release 0.0.7 milestone Feb 10, 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.

2 participants