summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier Gagnon <[email protected]>2023-11-19 13:47:25 -0500
committerraveit65 <[email protected]>2023-12-19 18:17:13 +0100
commit3b5440a4b65171606b40bc27e647af0b308514f7 (patch)
tree7148710f3e2e8911b1afc1642716f4eb5467cec2
parent70c1c9501e96082f8334e5ed23f9c15ada3d9c69 (diff)
downloadlibmateweather-3b5440a4b65171606b40bc27e647af0b308514f7.tar.bz2
libmateweather-3b5440a4b65171606b40bc27e647af0b308514f7.tar.xz
The url with 'www.' is a permanent redirect (308) to the url without it
-rw-r--r--libmateweather/weather-metar.c2
1 files changed, 1 insertions, 1 deletions
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",