From 7e132e31b216ff90e06cab80dc27a6f0f09223f8 Mon Sep 17 00:00:00 2001 From: Matthieu Rakotojaona Date: Thu, 25 May 2023 16:25:09 +0200 Subject: [PATCH] Add redirect instructions --- gacme | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gacme b/gacme index 692c013..5945b58 100644 --- a/gacme +++ b/gacme @@ -41,6 +41,9 @@ fn parseResponse { tail +2l $fullResponse } } + if (~ $"code 31) { + echo $head | sed 's/31 /Redirect: go to /' + } if not { cat $fullResponse }