oops, broke webfinger, which returns different content type
Ted Unangst tedu@tedunangst.com
Sat, 17 Feb 2024 17:06:13 -0500
1 files changed,
1 insertions(+),
1 deletions(-)
jump to
M
activity.go
→
activity.go
@@ -234,7 +234,7 @@ default:
return nil, fmt.Errorf("http get status: %d", resp.StatusCode) } ct := resp.Header.Get("Content-Type") - if !friendorfoe(ct) { + if args.Accept != "application/jrd+json" && !friendorfoe(ct) { return nil, fmt.Errorf("incompatible content type %s", ct) } var r io.Reader = resp.Body