aboutsummaryrefslogtreecommitdiff
path: root/registry
diff options
context:
space:
mode:
authorJulio Capote <jcapote@gmail.com>2023-01-05 19:53:00 +0000
committerJulio Capote <jcapote@gmail.com>2023-01-05 19:53:00 +0000
commit124e09b515b8aba86f292e7e7138177a85c1e308 (patch)
tree8fcded40baea413a3dcc93af06ce8bb0f3f22314 /registry
parente5e26dd7631f6a7cfc12faf7208ca5b2b62ba735 (diff)
downloadcommunique-124e09b515b8aba86f292e7e7138177a85c1e308.tar.gz
use activity+json
Diffstat (limited to '')
-rw-r--r--registry/registry.go2
1 files changed, 1 insertions, 1 deletions
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(