I believe I've narrowed down an issue I'm having with IE to a missing Content-Type header.
If I simulate an IE request using curl, I can duplicate this issue:
Returns:
...snipped...
"error": "Unsupported media type in request ''."
...
Which is perfectly logical because it can't parse the incoming data because there's no Content-Type!
So I cannot specify Content-Type: application/x-www-urlencoded for my requests coming from IE8/9 so that django-rest-framework can properly decode the request.
Sooo.... can someone tell me how I can rig django-rest-framework to accept the following headers and respond as if it was requested with a valid Content-Type? Yes, I know it's a hack, but I don't really have a choice at this point. And it's an IE hack, which really is just a redundant statement: it's for IE.
If this is documented, please point me in the right direction.
Accept: */*
Accept-Language: en-US
Accept-Encoding: gzip, deflate
User-Agent: Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0)
Content-Length: 42
Connection: Keep-Alive
Pragma: no-cache
auth_user_id=1&session_id=asdfasdfasdf1234
Wes