Detect more ActivityStreams requests

pull/47/head
Jan-Lukas Else 1 month ago
parent 47a42e1c55
commit 6a2642f25f

@ -23,6 +23,7 @@ func (a *goBlog) checkActivityStreamsRequest(next http.Handler) http.Handler {
ct.NewMediaType(contenttype.HTML),
ct.NewMediaType(contenttype.AS),
ct.NewMediaType(contenttype.LDJSON),
ct.NewMediaType(contenttype.LDJSON + "; profile=\"https://www.w3.org/ns/activitystreams\""),
}
}
return http.HandlerFunc(func(rw http.ResponseWriter, r *http.Request) {

Loading…
Cancel
Save