Skip to content

Commit f67cfc9

Browse files
authored
Merge pull request #2567 from bsipocz/BUG_fix_esa.hubble_tap_url
BUG: fix esa.hubble tap url
2 parents bf7d393 + ef4a9c8 commit f67cfc9

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

CHANGES.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,9 @@ esa.hubble
2626
- Refactored query_criteria to use ehst.archive table therefore making the query
2727
a lot faster. [#2524]
2828

29+
- Update TAP url to avoid 301 HTTPError. [#2567]
30+
31+
2932
alma
3033
^^^^
3134

astroquery/esa/hubble/core.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,8 @@ def __init__(self, tap_handler=None):
4747
super().__init__()
4848

4949
if tap_handler is None:
50-
self._tap = TapPlus(url="http://hst.esac.esa.int"
51-
"/tap-server/tap/")
50+
self._tap = TapPlus(url="https://hst.esac.esa.int"
51+
"/tap-server/tap")
5252
else:
5353
self._tap = tap_handler
5454

0 commit comments

Comments
 (0)