mime类型,传输图片时content-type里怎么写

自己用java编写的服务器端程序
传输html文件content-type这样写:
out.println("Content-Type: text/html; charset=GB2312");
百度说传输jpg格式这样写: out.println("Content-Type: image/jpeg; charset=GB2312");
可是我试了为什么不对?
还有content-type可以写多个类型吗?是否有优先级?
求大神指导

图片有很多种,参考
http://tools.jb51.net/table/http_content_type
另外 charset=GB2312画蛇添足,不要写。