summaryrefslogtreecommitdiff
path: root/framework/Web
diff options
context:
space:
mode:
Diffstat (limited to 'framework/Web')
-rw-r--r--framework/Web/THttpResponse.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/framework/Web/THttpResponse.php b/framework/Web/THttpResponse.php
index d6469bea..0274ffbb 100644
--- a/framework/Web/THttpResponse.php
+++ b/framework/Web/THttpResponse.php
@@ -269,7 +269,9 @@ class THttpResponse extends TModule implements ITextWriter
'jpeg'=>'image/jpeg',
'htm'=>'text/html',
'html'=>'text/html',
- 'js'=>'javascript/js'
+ 'js'=>'javascript/js',
+ 'pdf'=>'application/pdf',
+ 'xls'=>'application/vnd.ms-excel',
);
if($mimeType===null)