klen/py-frameworks-bench

Add X-Requested-With: XMLHttpRequest to header

italomaia opened this issue · 2 comments

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.

... nothing?