summaryrefslogtreecommitdiff
path: root/httpd.c
diff options
context:
space:
mode:
authorGravatar default2022-09-23 20:59:19 +0200
committerGravatar default2022-09-23 20:59:19 +0200
commit6e6c3154940e21a97473154e57e851790740d550 (patch)
treee42370734efa7b9e27477f864448bccb947048e8 /httpd.c
parentxs_httpd_request() also returns the payload. (diff)
downloadpenes-snac2-6e6c3154940e21a97473154e57e851790740d550.tar.gz
penes-snac2-6e6c3154940e21a97473154e57e851790740d550.tar.xz
penes-snac2-6e6c3154940e21a97473154e57e851790740d550.zip
New function activitypub_get_handler().
Diffstat (limited to 'httpd.c')
-rw-r--r--httpd.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/httpd.c b/httpd.c
index 037f690..20ba763 100644
--- a/httpd.c
+++ b/httpd.c
@@ -131,6 +131,9 @@ void httpd_connection(int rs)
131 131
132 if (status == 0) 132 if (status == 0)
133 status = webfinger_get_handler(req, q_path, &body, &b_size, &ctype); 133 status = webfinger_get_handler(req, q_path, &body, &b_size, &ctype);
134
135 if (status == 0)
136 status = activitypub_get_handler(req, q_path, &body, &b_size, &ctype);
134 } 137 }
135 else 138 else
136 if (strcmp(method, "POST") == 0) { 139 if (strcmp(method, "POST") == 0) {