all repos — honk @ f2d32758d5d8f567a2bc2524bb18cd3249570663

my fork of honk

oops, broke webfinger, which returns different content type
Ted Unangst tedu@tedunangst.com
Sat, 17 Feb 2024 17:06:13 -0500
commit

f2d32758d5d8f567a2bc2524bb18cd3249570663

parent

92e32cf7e1ebdec5de9f369e0e1d988e783c2f1a

1 files changed, 1 insertions(+), 1 deletions(-)

jump to
M activity.goactivity.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