diff options
author | tjpcc <tjp@ctrl-c.club> | 2023-08-12 10:47:51 -0600 |
---|---|---|
committer | tjpcc <tjp@ctrl-c.club> | 2023-08-12 10:47:51 -0600 |
commit | 7d3cbefde656d5520067d56eeb44a8ba1f39d672 (patch) | |
tree | f8c12c0cc911cf24743798bbda6f3910f176db1a /gopher | |
parent | 23bc5f4fb7542e64c94eaa7fe2c7a6aa55010898 (diff) |
multi-protocol client
Fixes #4
Diffstat (limited to 'gopher')
-rw-r--r-- | gopher/client.go | 2 |
1 files changed, 2 insertions, 0 deletions
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 } |