phroxy

Unnamed repository; edit this file 'description' to name the repository.
git clone git://git.z3bra.org/phroxy.git
Log | Files | Refs | LICENSE

commit 2c475361f8d8ed00d0ed93d88b3a2152c34a2e3b
parent e159168461c30eb37813b1c43afa98d27bc3d6d5
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:
Mphroxy.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/phroxy.c b/phroxy.c @@ -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";