r8219: Merge the new open code from HEAD to 3.0. Haven't yet run the torture
[samba.git] / source3 / web / cgi.c
index 5d52ad62793ceec991325105fdfd18d692f2185f..6c9cfce13cdd66d4826784e58ca4931d6290e60d 100644 (file)
@@ -457,6 +457,10 @@ static void cgi_download(char *file)
                        printf("Content-Type: image/gif\r\n");
                } else if (strcmp(p,".jpg")==0) {
                        printf("Content-Type: image/jpeg\r\n");
+               } else if (strcmp(p,".png")==0) {
+                       printf("Content-Type: image/png\r\n");
+               } else if (strcmp(p,".css")==0) {
+                       printf("Content-Type: text/css\r\n");
                } else if (strcmp(p,".txt")==0) {
                        printf("Content-Type: text/plain\r\n");
                } else {