diff options
| author | 2022-09-23 20:59:19 +0200 | |
|---|---|---|
| committer | 2022-09-23 20:59:19 +0200 | |
| commit | 6e6c3154940e21a97473154e57e851790740d550 (patch) | |
| tree | e42370734efa7b9e27477f864448bccb947048e8 /httpd.c | |
| parent | xs_httpd_request() also returns the payload. (diff) | |
| download | penes-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.c | 3 |
1 files changed, 3 insertions, 0 deletions
| @@ -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) { |