Ignore:
Timestamp:
Jul 7, 2007, 4:10:11 AM (17 years ago)
Author:
rvelices
Message:

merge r2052 from branch-1_7 to trunk

  • fix set_status_header for fastCGI installations that are strict in terms of http protocol (1.0 or 1.1)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/ws_core.inc.php

    r1900 r2053  
    381381    if ( is_null($this->_responseEncoder) )
    382382    {
    383       @header("HTTP/1.1 500 Server error");
    384       @header("Status: 500 Server error");
     383      set_status_header(500);
    385384      @header("Content-Type: text/plain");
    386385      echo ("Cannot process your request. Unknown response format.
Note: See TracChangeset for help on using the changeset viewer.