summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier Gagnon <[email protected]>2023-11-19 13:47:25 -0500
committerraveit65 <[email protected]>2023-12-19 18:19:55 +0100
commit5b068a6e73e96db512ca8c60a11d31c068a5375f (patch)
tree17e4410420b933f4685fee212a4f662e583fc391
parentda37787abef132aeb1694cf234cfac3b87b94a6c (diff)
downloadlibmateweather-5b068a6e73e96db512ca8c60a11d31c068a5375f.tar.bz2
libmateweather-5b068a6e73e96db512ca8c60a11d31c068a5375f.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",