summaryrefslogtreecommitdiff
path: root/activitypub.c
diff options
context:
space:
mode:
Diffstat (limited to 'activitypub.c')
-rw-r--r--activitypub.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/activitypub.c b/activitypub.c
index fb790d5..7ac4c5f 100644
--- a/activitypub.c
+++ b/activitypub.c
@@ -880,7 +880,7 @@ int activitypub_get_handler(d_char *req, char *q_path,
xs *msg = NULL;
if (accept == NULL)
- return 400;
+ return 0;
if (xs_str_in(accept, "application/activity+json") == -1 &&
xs_str_in(accept, "application/ld+json") == -1)