Changeset 2445

Show
Ignore:
Timestamp:
04/21/2008 08:45:24 AM
Author:
tof
Message:

Updated exception messages

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/framework/Exceptions/messages/messages.txt

    r2348 r2445  
    461461 
    462462datasource_dbconnection_invalid                 = TDataSourceConfig.DbConnection '{0}' is invalid. Please make sure it points to a valid application module. 
     463 
     464response_status_reason_missing                  = HTTP 1.1 need reason for extended status-codes 
     465response_status_reason_badchars                 = For HTTP 1.1 header, the token status-reason must not contain token CR or LF 
  • trunk/framework/Web/THttpResponse.php

    r2444 r2445  
    342342                } 
    343343                $fn=basename($fileName); 
    344                 header("HTTP/1.1 {$this->_status} {$this->_reason}", true, $this->_status); 
     344                $this->sendHttpHeader(); 
    345345                if(is_array($headers)) 
    346346                {