* HTTP Proxy: Get mime type right for .ico

* DataHelper: Cleanup
This commit is contained in:
zzz
2009-08-21 15:37:13 +00:00
parent 37437da34d
commit cdc184c5e5
2 changed files with 6 additions and 3 deletions

View File

@ -843,6 +843,8 @@ public class I2PTunnelHTTPClient extends I2PTunnelClientBase implements Runnable
String type;
if (filename.endsWith(".css"))
type = "text/css";
else if (filename.endsWith(".ico"))
type = "image/x-icon";
else if (filename.endsWith(".png"))
type = "image/png";
else if (filename.endsWith(".jpg"))