Only application/json files are downloaded