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    
Subscription  
Comments Add Comment Add patch


Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know! Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem : 44 + 13 = ?

 
 [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().

Comments

 [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