all repos — honk @ 7982b4d31637478d39d5398e66c2a87cb17f2580

my fork of honk

requesting bonks with the old activity name may work better
Ted Unangst tedu@tedunangst.com
Tue, 23 Apr 2019 15:58:13 -0400
commit

7982b4d31637478d39d5398e66c2a87cb17f2580

parent

79d9b15b8387a9f537c5fbbd928c748aa6f8f145

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

jump to
M activity.goactivity.go

@@ -56,6 +56,7 @@ return j, nil

} var theonetruename = `application/ld+json; profile="https://www.w3.org/ns/activitystreams"` +var thefakename = `application/activity+json` var falsenames = []string{ `application/ld+json`, `application/activity+json`,

@@ -123,7 +124,7 @@ req, err := http.NewRequest("GET", url, nil)

if err != nil { return nil, err } - at := theonetruename + at := thefakename if strings.Contains(url, ".well-known/webfinger?resource") { at = "application/jrd+json" }