changeset 1734:02d2a6c3bc6f

content-types for doc and docx
author Franklin Schmidt <fschmidt@gmail.com>
date Sun, 18 Sep 2022 15:38:27 -0600
parents 8b3ad1fb219f
children 4b56eff90040
files src/goodjava/webserver/handlers/ContentTypeHandler.java
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/goodjava/webserver/handlers/ContentTypeHandler.java	Wed Sep 14 07:51:13 2022 -0600
+++ b/src/goodjava/webserver/handlers/ContentTypeHandler.java	Sun Sep 18 15:38:27 2022 -0600
@@ -33,6 +33,8 @@
 		map.put( "gif", "image/gif" );
 		map.put( "pdf", "application/pdf" );
 		map.put( "woff", "font/woff" );
+		map.put( "doc", "application/msword" );
+		map.put( "docx", "application/vnd.openxmlformats-officedocument.wordprocessingml.document" );
 		// add more as need
 	}