summaryrefslogtreecommitdiff
path: root/src/gmutil.c
diff options
context:
space:
mode:
authorJaakko Keränen <jaakko.keranen@iki.fi>2020-11-06 21:59:39 +0200
committerJaakko Keränen <jaakko.keranen@iki.fi>2020-11-06 21:59:39 +0200
commita3af3912421d5848bce9eac7031da406bac2ba5b (patch)
treeff62ad49b9a95da4e863ccbc60ff2fdf02692f13 /src/gmutil.c
parent4f92d0b2930a023fd4a000aabf797e5a37061b81 (diff)
Automatic redirects to the same scheme
IssueID #16
Diffstat (limited to 'src/gmutil.c')
-rw-r--r--src/gmutil.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gmutil.c b/src/gmutil.c
index 52fe6b28..6166efd6 100644
--- a/src/gmutil.c
+++ b/src/gmutil.c
@@ -247,11 +247,11 @@ static const struct {
247 "Invalid Redirect", 247 "Invalid Redirect",
248 "The server responded with a redirect but did not provide a valid destination URL. " 248 "The server responded with a redirect but did not provide a valid destination URL. "
249 "Perhaps the server is malfunctioning." } }, 249 "Perhaps the server is malfunctioning." } },
250 { nonGeminiRedirect_GmStatusCode, 250 { schemeChangeRedirect_GmStatusCode,
251 { 0x27a0, /* dashed arrow */ 251 { 0x27a0, /* dashed arrow */
252 "Redirect to Non-Gemini URL", 252 "Scheme-Changing Redirect",
253 "The server attempted to redirect us to a non-Gemini URL. Here is the link so you " 253 "The server attempted to redirect us to a URL whose scheme is different than the "
254 "can open it manually if appropriate."} }, 254 "originating URL's scheme. Here is the link so you can open it manually if appropriate."} },
255 { tooManyRedirects_GmStatusCode, 255 { tooManyRedirects_GmStatusCode,
256 { 0x27a0, /* dashed arrow */ 256 { 0x27a0, /* dashed arrow */
257 "Too Many Redirects", 257 "Too Many Redirects",