While its easy to add headers={"Accept": "application/json"}), adding that as default may be a good idea, as we are only handling json data.