diff options
author | default <nobody@localhost> | 2022-11-18 11:48:39 +0100 |
---|---|---|
committer | default <nobody@localhost> | 2022-11-18 11:48:39 +0100 |
commit | 71b925d420f7009082a47c759f1b280e93e58e8c (patch) | |
tree | e24154032b788b1f35e7b8ccca1dc115ba628b56 | |
parent | f396d41de64909c2690b287e0da8de74cf0a50d1 (diff) |
Log if the RSS is served.
-rw-r--r-- | html.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -969,7 +969,7 @@ int html_get_handler(d_char *req, char *q_path, char **body, int *b_size, char * uid = xs_dup(v); - /* rss? */ + /* rss extension? */ if (xs_endswith(uid, ".rss")) { uid = xs_crop(uid, 0, -4); p_path = ".rss"; @@ -1155,6 +1155,8 @@ int html_get_handler(d_char *req, char *q_path, char **body, int *b_size, char * *b_size = strlen(rss); *ctype = "application/rss+xml; charset=utf-8"; status = 200; + + snac_debug(&snac, 1, xs_fmt("serving RSS")); } else status = 404; |