youtube/feed: whoops add Content-Type text/html for HTML for HTTP CGI - frontends - front-ends for some sites (experiment)
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
 (DIR) LICENSE
       ---
 (DIR) commit 86e926018b56e1258049055aff09ce1673e14754
 (DIR) parent d22d896072715e337381959c0cca366b45810cb0
 (HTM) Author: Hiltjo Posthuma <hiltjo@codemadness.org>
       Date:   Thu, 18 May 2023 15:31:17 +0200
       
       youtube/feed: whoops add Content-Type text/html for HTML for HTTP CGI
       
       Diffstat:
         M youtube/feed.c                      |       2 ++
       
       1 file changed, 2 insertions(+), 0 deletions(-)
       ---
 (DIR) diff --git a/youtube/feed.c b/youtube/feed.c
       @@ -1158,6 +1158,8 @@ main(int argc, char *argv[])
                        fputs("Status: 200 OK\r\n", stdout);
                        if (!strcmp(format, "atom") || !strcmp(format, "xml"))
                                fputs("Content-Type: text/xml; charset=utf-8\r\n\r\n", stdout);
       +                else if (!strcmp(format, "html"))
       +                        fputs("Content-Type: text/html; charset=utf-8\r\n\r\n", stdout);
                        else if (!strcmp(format, "json"))
                                fputs("Content-Type: application/json; charset=utf-8\r\n\r\n", stdout);
                        else