tServe types 0 and 1 as mimetype text/html - phroxy - Gopher to HTTP proxy
 (HTM) git clone git://git.z3bra.org/phroxy.git
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) LICENSE
       ---
 (DIR) commit 2c475361f8d8ed00d0ed93d88b3a2152c34a2e3b
 (DIR) parent e159168461c30eb37813b1c43afa98d27bc3d6d5
 (HTM) Author: Willy Goiffon <dev@z3bra.org>
       Date:   Fri, 11 Sep 2020 22:40:53 +0200
       
       Serve types 0 and 1 as mimetype text/html
       
       Diffstat:
         M phroxy.c                            |       2 +-
       
       1 file changed, 1 insertion(+), 1 deletion(-)
       ---
 (DIR) diff --git a/phroxy.c b/phroxy.c
       t@@ -180,7 +180,7 @@ contenttype(char i)
                switch(i) {
                case '0':
                case '1':
       -                return "text/plain; charset=utf-8";
       +                return "text/html; charset=utf-8";
                        break; /* NOTREACHED */
                case '9':
                        return "application/octet-stream";