Mantis - Quercus
Viewing Issue Advanced Details
1936 major always 08-13-07 06:33 08-13-07 15:03
dberry  
nam  
normal  
closed 3.1.1  
fixed  
none    
none 3.1.3  
0001936: Cannot send response error with Quercus
Tried header('HTTP/1.0 403 Forbidden');
and browser displayed a white screen with no error message

Tried using global $respone, $response->sendError(403); and got the following message: Fatal Error: 'com.caucho.server.http.HttpRequest::sendError' is an unknown method

Looks like $respone is getting set to the Request.

Notes
(0002197)
nam   
08-13-07 15:03   
php/2032

Quercus does send the desired response header, but tt does not send a default error page, which matches the behavior of PHP. The user app is responsible for sending output.

For $response, yes it was being set to HttpRequest by mistake. It only affects Quercus under Resin.