toastdriven/django-tastypie — Issue #272: HTML Content type returned on some Bad Request answers
Author: linovia
Created: 2011-10-20 19:30:47+00:00
State: open

xordoquy$ curl --dump-header - -H "Content-Type: application/json" -X PUT --data '{}' http://localhost:8000/api/v1/story/

HTTP/1.0 400 BAD REQUEST
Date: Thu, 20 Oct 2011 19:29:36 GMT
Server: WSGIServer/0.1 Python/2.7.1
Content-Type: text/html; charset=utf-8