klen / py-frameworks-bench

Another benchmark for some python frameworks
https://klen.github.io/py-frameworks-bench/
MIT License
709 stars 85 forks source link

Add X-Requested-With: XMLHttpRequest to header #14

Closed italomaia closed 3 years ago

italomaia commented 8 years ago

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 8 years ago

Now with PR https://github.com/klen/py-frameworks-bench/compare/develop...italomaia:patch-1

italomaia commented 6 years ago

... nothing?