From 9b6a253313862602e9838f365b9de25e9ce794fb Mon Sep 17 00:00:00 2001 From: Derrick Hammer Date: Tue, 27 Feb 2024 04:26:55 -0500 Subject: [PATCH] fix: need to use Get, head isn't always supported --- api/s5/s5.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/s5/s5.go b/api/s5/s5.go index db1f5ff..644b2b8 100644 --- a/api/s5/s5.go +++ b/api/s5/s5.go @@ -837,7 +837,7 @@ func (s *S5API) accountPin(jc jape.Context) { return } - r := rq.Head(next.Location().BytesURL()) + r := rq.Get(next.Location().BytesURL()) httpReq, err := r.ParseRequest() if err != nil {