diff options
author | xue <> | 2007-10-05 15:54:51 +0000 |
---|---|---|
committer | xue <> | 2007-10-05 15:54:51 +0000 |
commit | 07d10b23bf6282143df62a248e6ab4d85559d96c (patch) | |
tree | 570a6b7c04d9bfdda52f16ac6600f00808a9ab10 /framework | |
parent | 67f16d2be099b22438e9298fcc02421112b069af (diff) |
added a few more mime types.
Diffstat (limited to 'framework')
-rw-r--r-- | framework/Web/THttpResponse.php | 4 |
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)
|