ニュース

When I do an Ajax request and the server return an 204 No content response JQuery (v1.11.3) try to parse the content and I get this error: JQMIGRATE: jQuery.parseJSON requires a valid JSON string ( ...
If flask is returning a 204 response it should not be setting the Content-type header. If it is, jQuery still lets you work around that by setting dataType: "text" and parsing the JSON yourself with ...