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

content-type should be application/json and not twisted's unfortunate default of text/html #40

Open
glyph opened this issue Jul 2, 2014 · 1 comment

Comments

@glyph
Copy link
Collaborator

glyph commented Jul 2, 2014

There really ought to be a decorator which does both this and JSON serialization.

@glyph
Copy link
Collaborator Author

glyph commented Aug 6, 2015

I think mimic is probably the wrong layer to address this. See twisted/klein#78

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

No branches or pull requests

1 participant