Skip to content

Commit f22f401

Browse files
committed
Fix Auth.MAST session info retrieval
1 parent 678a68d commit f22f401

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

astroquery/mast/core.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -705,7 +705,7 @@ def _session_info(self, silent=False): # pragma: no cover
705705
"""
706706

707707
# get user information
708-
response = self._session.request("GET", self._SESSION_INFO_URL)
708+
response = self._session.request("GET", self._SESSION_INFO_URL, headers={"Accept": "application/json"})
709709

710710
infoDict = json.loads(response.text)
711711

0 commit comments

Comments
 (0)