summaryrefslogtreecommitdiff
path: root/httpd.c
diff options
context:
space:
mode:
authorGravatar default2022-09-21 21:12:49 +0200
committerGravatar default2022-09-21 21:12:49 +0200
commit6e4294f8e8a9efd7e5e5670554fe18d7462c5fe3 (patch)
tree5f0d3ba0dd8b629fa03b3294f1dd3e3b21a6c513 /httpd.c
parentUpdated Makefile. (diff)
downloadsnac2-6e4294f8e8a9efd7e5e5670554fe18d7462c5fe3.tar.gz
snac2-6e4294f8e8a9efd7e5e5670554fe18d7462c5fe3.tar.xz
snac2-6e4294f8e8a9efd7e5e5670554fe18d7462c5fe3.zip
Added a webfinger 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 7cd73cc..8e798a4 100644
--- a/httpd.c
+++ b/httpd.c
@@ -109,6 +109,9 @@ void httpd_connection(int rs)
109 /* cascade through */ 109 /* cascade through */
110 if (status == 0) 110 if (status == 0)
111 server_get_handler(req, q_path, &status, &body, &b_size, &ctype); 111 server_get_handler(req, q_path, &status, &body, &b_size, &ctype);
112
113 if (status == 0)
114 webfinger_get_handler(req, q_path, &status, &body, &b_size, &ctype);
112 } 115 }
113 else 116 else
114 if (strcmp(method, "POST") == 0) { 117 if (strcmp(method, "POST") == 0) {