tUse image/* as the content-type for all image files - phroxy - Gopher to HTTP proxy
HTML git clone git://git.z3bra.org/phroxy.git
DIR Log
DIR Files
DIR Refs
DIR LICENSE
---
DIR commit f73785325b3aa56daa62891ffefa9fc7ef19c9c1
DIR parent 5f381215e10e7696ffcb418cbc0f2f1a5f4aedb5
HTML Author: Willy Goiffon <dev@z3bra.org>
Date: Fri, 18 Sep 2020 16:47:40 +0200
Use image/* as the content-type for all image files
Diffstat:
M phroxy.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
DIR diff --git a/phroxy.c b/phroxy.c
t@@ -172,7 +172,7 @@ contenttype(char i)
return "application/octet-stream";
break; /* NOTREACHED */
case 'I':
- return "image/youguess";
+ return "image/*";
break; /* NOTREACHED */
case 'g':
return "image/gif";