2110fc2
Replace Response.data with Response.get_data() http://flask.pocoo.org/docs/0.12/api/#flask.Response.data