Skip to content

Commit 34d3043

Browse files
committed
Use https URL for SVO
1 parent 023975b commit 34d3043

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

astroquery/svo_fps/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ class Conf(_config.ConfigNamespace):
1212
Configuration parameters for `astroquery.svo_fps`.
1313
"""
1414
base_url = _config.ConfigItem(
15-
['http://svo2.cab.inta-csic.es/theory/fps/fps.php'],
15+
['https://svo2.cab.inta-csic.es/theory/fps/fps.php'],
1616
'SVO FPS base query URL')
1717

1818
timeout = _config.ConfigItem(

astroquery/svo_fps/core.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
__all__ = ['SvoFpsClass', 'SvoFps']
1515

1616
# Valid query parameters taken from
17-
# http://svo2.cab.inta-csic.es/theory/fps/index.php?mode=voservice
17+
# https://svo2.cab.inta-csic.es/theory/fps/index.php?mode=voservice
1818
_params_with_range = {"WavelengthRef", "WavelengthMean", "WavelengthEff",
1919
"WavelengthMin", "WavelengthMax", "WidthEff", "FWHM"}
2020
QUERY_PARAMETERS = _params_with_range.copy()
@@ -45,7 +45,7 @@ def data_from_svo(self, query, *, cache=True, timeout=None,
4545
Used to create a HTTP query string i.e. send to SVO FPS to get data.
4646
In dictionary, specify keys as search parameters (str) and
4747
values as required. Description of search parameters can be found at
48-
http://svo2.cab.inta-csic.es/theory/fps/index.php?mode=voservice
48+
https://svo2.cab.inta-csic.es/theory/fps/index.php?mode=voservice
4949
error_msg : str, optional
5050
Error message to be shown in case no table element found in the
5151
responded VOTable. Use this to make error message verbose in context
@@ -65,7 +65,7 @@ def data_from_svo(self, query, *, cache=True, timeout=None,
6565
f"parameter{'s' if len(bad_params) > 1 else ''} "
6666
f"{', '.join(bad_params)} {'are' if len(bad_params) > 1 else 'is'} "
6767
f"invalid. For a description of valid query parameters see "
68-
"http://svo2.cab.inta-csic.es/theory/fps/index.php?mode=voservice"
68+
"https://svo2.cab.inta-csic.es/theory/fps/index.php?mode=voservice"
6969
)
7070
response = self._request("GET", self.SVO_MAIN_URL, params=query,
7171
timeout=timeout or self.TIMEOUT,

docs/svo_fps/svo_fps.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Getting started
88
===============
99

1010
This is a python interface for querying the Spanish Virtual Observatory's
11-
Filter Profile Service (`SVO FPS <http://svo2.cab.inta-csic.es/theory/fps/>`_).
11+
Filter Profile Service (`SVO FPS <https://svo2.cab.inta-csic.es/theory/fps/>`_).
1212
It allows retrieval of filter data (index, transmission data, filter list, etc.)
1313
from the service as astropy tables.
1414

0 commit comments

Comments
 (0)