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  
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes. If this is not your bug, you can add a comment by following this link. If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
2007-04-10 11:38 UTC
Package:
Bug Type:
Summary:
From: pear dot php dot net at chsc dot dk
New email:
PHP Version: Package Version: OS:

 

 [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