Remove unneeded mime type set; jsonify does this for us

This commit is contained in:
Joseph Schorr 2015-05-26 17:30:10 -04:00
parent 9888c3ad9b
commit b3ea4ecaa2

View file

@ -270,7 +270,6 @@ def buildlogs(build_uuid):
'logs': [log for log in logs]
})
response.mimetype = "application/json"
response.headers["Content-Disposition"] = "attachment;filename=" + build.uuid + ".json"
return response