From 124e09b515b8aba86f292e7e7138177a85c1e308 Mon Sep 17 00:00:00 2001 From: Julio Capote Date: Thu, 5 Jan 2023 14:53:00 -0500 Subject: use activity+json --- registry/registry.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'registry/registry.go') diff --git a/registry/registry.go b/registry/registry.go index 998bb53..4b58c1f 100644 --- a/registry/registry.go +++ b/registry/registry.go @@ -257,7 +257,7 @@ func (r *Registry) deliverAcceptToInbox(url, actorUrl, actorKeyUrl *url.URL, fol request, err := http.NewRequest("POST", url.String(), bytes.NewBuffer(jsonData)) request.Header.Set("Date", time.Now().UTC().Format(http.TimeFormat)) - request.Header.Set("Content-Type", "application/ld+json; profile=\"https://www.w3.org/ns/activitystreams\"") + request.Header.Set("Content-Type", "application/activity+json") request.Header.Set("Host", url.Host) r.log.With( -- cgit v1.2.3