HttpResponse::guessContentType
    (no version information, might be only in CVS)
HttpResponse::guessContentType -- content type を推測する
説明
staticstring 
HttpResponse::guessContentType ( [string magic_file [, int magic_mode=MAGIC_MIME]] )
   指定された本文の content type を、libmagic を使用して推測します。
  
   推測に成功すると、その結果の content type が自動的にレスポンスの
   content type として設定されます。
  
パラメータ
   
- magic_file
 
       使用する magic.mime データベース。
      
- magic_mode
 
       libmagic のフラグ。
      
 
  返り値
   成功した場合は推測した content type、
   失敗した場合は FALSE を返します。
  
エラー / 例外
   HttpRuntimeException、HttpInvalidParamException
   をスローします。