Skip to content

Commit 92080aa

Browse files
committed
tested: XMM URLs are head-safe (they give the data size in the header)
1 parent c026e1b commit 92080aa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

astroquery/esa/xmm_newton/core.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ def download_data(self, observation_id, *, filename=None, verbose=False,
122122

123123
filename += "".join(suffixes)
124124

125-
self._download_file(link, filename)
125+
self._download_file(link, filename, head_safe=True)
126126

127127
if verbose:
128128
log.info("Wrote {0} to {1}".format(link, filename))

0 commit comments

Comments
 (0)