[Django]-XML Parsing error: no root element found (empty content) Django

2👍

Turns out I only had to set the content_type to text/html

0👍

The server response is missing header Content-Type.
So the JavaScript ‘success’ handler cannot parse correctly the response body.

Leave a comment