From c2d53df85b6aca23168583d9e804ba899b67cac7 Mon Sep 17 00:00:00 2001 From: Joel Beckmeyer Date: Thu, 19 Nov 2020 21:13:24 -0500 Subject: [PATCH] set content-type to application/activity+json for /actor --- relay/actor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/relay/actor.py b/relay/actor.py index 24d39dd..eb8c51b 100644 --- a/relay/actor.py +++ b/relay/actor.py @@ -62,7 +62,7 @@ async def actor(request): "preferredUsername": "relay", "url": "https://{}/actor".format(request.host) } - return aiohttp.web.json_response(data) + return aiohttp.web.json_response(data, content_type='application/activity+json') app.router.add_get('/actor', actor)