From 0ff011eca058af310d7c56093f390174bc10df10 Mon Sep 17 00:00:00 2001 From: Frederick Muriuki Muriithi Date: Tue, 29 Sep 2026 11:56:34 -0500 Subject: Add "Accept" header for content negotiation. --- scripts/load_phenotypes_to_db.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'scripts') diff --git a/scripts/load_phenotypes_to_db.py b/scripts/load_phenotypes_to_db.py index 31eb715..72cd641 100644 --- a/scripts/load_phenotypes_to_db.py +++ b/scripts/load_phenotypes_to_db.py @@ -212,7 +212,8 @@ def update_auth(# pylint: disable=[too-many-locals,too-many-positional-arguments _delay = 1 headers = { "Authorization": f"Bearer {token}", - "Content-Type": "application/json" + "Content-Type": "application/json", + "Accept": "application/json" } def authserveruri(endpoint): return urljoin(authserver, endpoint) -- cgit 1.4.1