Created
October 17, 2011 20:58
-
-
Save girasquid/1293781 to your computer and use it in GitHub Desktop.
Fix Bad Request errors with django-piston when using $.post
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from piston.utils import Mimer | |
Mimer.register(lambda s: s, ('text/plain',)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment