diff options
| author | 2022-09-21 21:12:49 +0200 | |
|---|---|---|
| committer | 2022-09-21 21:12:49 +0200 | |
| commit | 6e4294f8e8a9efd7e5e5670554fe18d7462c5fe3 (patch) | |
| tree | 5f0d3ba0dd8b629fa03b3294f1dd3e3b21a6c513 /httpd.c | |
| parent | Updated Makefile. (diff) | |
| download | snac2-6e4294f8e8a9efd7e5e5670554fe18d7462c5fe3.tar.gz snac2-6e4294f8e8a9efd7e5e5670554fe18d7462c5fe3.tar.xz snac2-6e4294f8e8a9efd7e5e5670554fe18d7462c5fe3.zip | |
Added a webfinger handler.
Diffstat (limited to 'httpd.c')
| -rw-r--r-- | httpd.c | 3 |
1 files changed, 3 insertions, 0 deletions
| @@ -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) { |