From 7d3cbefde656d5520067d56eeb44a8ba1f39d672 Mon Sep 17 00:00:00 2001 From: tjpcc Date: Sat, 12 Aug 2023 10:47:51 -0600 Subject: multi-protocol client Fixes #4 --- gopher/client.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'gopher/client.go') diff --git a/gopher/client.go b/gopher/client.go index 5ef54ff..a5c4228 100644 --- a/gopher/client.go +++ b/gopher/client.go @@ -63,3 +63,5 @@ func (c Client) Fetch(url string) (*types.Response, error) { } return c.RoundTrip(&types.Request{URL: u}) } + +func (c Client) IsRedirect(_ *types.Response) bool { return false } -- cgit v1.2.3