Changeset 443

Show
Ignore:
Timestamp:
05/27/07 10:09:53 (2 years ago)
Author:
laurentj
Message:

fix bug #188: mimeType member was missing on jResponseBinary p=Nicolas Lassalle

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/lib/jelix/core/response/jResponseBinary.class.php

    r338 r443  
    44* @subpackage  core_response 
    55* @author      Laurent Jouanneau 
    6 * @contributor 
     6* @contributor Nicolas Lassalle <nicolas@beroot.org> (ticket #188) 
    77* @copyright   2005-2006 Laurent Jouanneau 
     8* @copyright   2007 Nicolas Lassalle 
    89* @link        http://www.jelix.org 
    910* @licence     GNU Lesser General Public Licence see LICENCE file or http://www.gnu.org/licenses/lgpl.html 
     
    4647     */ 
    4748    public $doDownload = true; 
     49 
     50    /** 
     51    * The mimeType of the current binary file. 
     52    * It will be sent in the header "Content-Type". 
     53    * @var string 
     54    */ 
     55    public $mimeType = 'application/octet-stream'; 
    4856 
    4957    /** 
  • trunk/lib/jelix/core/response/jResponseBinary.class.php

    r338 r443  
    44* @subpackage  core_response 
    55* @author      Laurent Jouanneau 
    6 * @contributor 
     6* @contributor Nicolas Lassalle <nicolas@beroot.org> (ticket #188) 
    77* @copyright   2005-2006 Laurent Jouanneau 
     8* @copyright   2007 Nicolas Lassalle 
    89* @link        http://www.jelix.org 
    910* @licence     GNU Lesser General Public Licence see LICENCE file or http://www.gnu.org/licenses/lgpl.html 
     
    4647     */ 
    4748    public $doDownload = true; 
     49 
     50    /** 
     51    * The mimeType of the current binary file. 
     52    * It will be sent in the header "Content-Type". 
     53    * @var string 
     54    */ 
     55    public $mimeType = 'application/octet-stream'; 
    4856 
    4957    /** 
Download in other formats: Unified Diff Zip Archive