Add X-Requested-With: XMLHttpRequest to header
italomaia opened this issue · 2 comments
italomaia commented
As stated here http://flask.pocoo.org/docs/0.11/api/#flask.json.jsonify flask pre-processes the json response with "pretty print" if the header X-Requested-With: XMLHttpRequest was not used in the request so, the "encode a object to json" test requests should have that header to make things fair.
italomaia commented
Now with PR develop...italomaia:patch-1
italomaia commented
... nothing?