Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.0.0RC8

Bug #2464 Missing return in http_GET()
Submitted: 2004-10-05 16:27 UTC
From: pear dot php dot net at chsc dot dk Assigned: hholzgra
Status: Closed Package: HTTP_WebDAV_Server
PHP Version: 5.0.2 OS: Linux
Roadmaps: 1.0    

 [2004-10-05 16:27 UTC] pear dot php dot net at chsc dot dk
Description: ------------ In http_GET() after the echo statement in line 893, there seems to be missing a return statement. Otherwise I get a warning about headers already being sent when the code reaches the $this->http_status() call further down in http_GET().


 [2005-01-09 11:46 UTC] hholzgra
I'm afraid this problem happens with other code pathes, too. So for now i've put a headers_sent() check in front of the final http_status() call