From 843fe1b7eda5f2f7e622a141bc2062bc01e46b7b Mon Sep 17 00:00:00 2001 From: Dan Mihaila Date: Thu, 11 Jan 2024 11:48:18 +0200 Subject: [PATCH] Update pcodes.py --- hxl_proxy/pcodes.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hxl_proxy/pcodes.py b/hxl_proxy/pcodes.py index 129bc6d..22cdd45 100644 --- a/hxl_proxy/pcodes.py +++ b/hxl_proxy/pcodes.py @@ -16,10 +16,10 @@ # # Constants # -COUNTRY_URL_PATTERN = 'http://codgis.itos.uga.edu/arcgis/rest/services/COD_External/{country}_pcode/MapServer/layers?f=pjson' +COUNTRY_URL_PATTERN = 'https://codgis.itos.uga.edu/arcgis/rest/services/COD_External/{country}_pcode/MapServer/layers?f=pjson' """Pattern for constructing an iTOS URL for country metadata""" -PCODES_URL_PATTERN = 'http://codgis.itos.uga.edu/arcgis/rest/services/COD_External/{country}_pcode/MapServer/{level}/query?where=1%3D1&outFields=*&returnGeometry=false&f=pjson' +PCODES_URL_PATTERN = 'https://codgis.itos.uga.edu/arcgis/rest/services/COD_External/{country}_pcode/MapServer/{level}/query?where=1%3D1&outFields=*&returnGeometry=false&f=pjson' """Pattern for constructing an iTOS URL for P-codes""" PCODE_HEADER_PATTERNS = {