From 5b068a6e73e96db512ca8c60a11d31c068a5375f Mon Sep 17 00:00:00 2001 From: Olivier Gagnon Date: Sun, 19 Nov 2023 13:47:25 -0500 Subject: The url with 'www.' is a permanent redirect (308) to the url without it --- libmateweather/weather-metar.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libmateweather/weather-metar.c b/libmateweather/weather-metar.c index 0ae2cbb..7bc24fc 100644 --- a/libmateweather/weather-metar.c +++ b/libmateweather/weather-metar.c @@ -550,7 +550,7 @@ metar_start_open (WeatherInfo *info) } msg = soup_form_request_new ( - "GET", "https://www.aviationweather.gov/cgi-bin/data/dataserver.php", + "GET", "https://aviationweather.gov/cgi-bin/data/dataserver.php", "dataSource", "metars", "requestType", "retrieve", "format", "xml", -- cgit v1.2.1