fix: need to use Get, head isn't always supported
This commit is contained in:
parent
218c0a1b1a
commit
9b6a253313
|
@ -837,7 +837,7 @@ func (s *S5API) accountPin(jc jape.Context) {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
r := rq.Head(next.Location().BytesURL())
|
r := rq.Get(next.Location().BytesURL())
|
||||||
httpReq, err := r.ParseRequest()
|
httpReq, err := r.ParseRequest()
|
||||||
|
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|
Loading…
Reference in New Issue