Use activitypub.ActivityStreamsContentType for Person response Content Type
This commit is contained in:
parent
3fe44596de
commit
e9e8a03e08
1 changed files with 1 additions and 1 deletions
|
@ -87,7 +87,7 @@ func Person(ctx *context.APIContext) {
|
|||
|
||||
jsonmap["@context"] = []string{"https://www.w3.org/ns/activitystreams", "https://w3id.org/security/v1"}
|
||||
|
||||
ctx.Resp.Header().Add("Content-Type", "application/activity+json")
|
||||
ctx.Resp.Header().Add("Content-Type", activitypub.ActivityStreamsContentType)
|
||||
ctx.Resp.WriteHeader(http.StatusOK)
|
||||
binary, err = json.Marshal(jsonmap)
|
||||
if err != nil {
|
||||
|
|
Reference in a new issue