#47417 [Opn->Bgs]: There is no footer function
| From: | johannes@php.net | Date: | Tue, 17 Feb 2009 15:44:14 +0000 |
| Subject: | #47417 [Opn->Bgs]: There is no footer function | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-133918@lists.php.net to get a copy of this message | ||
ID: 47417
Updated by: johannes@php.net
Reported By: henke at henke37 dot cjb dot net
-Status: Open
+Status: Bogus
Bug Type: Feature/Change Request
PHP Version: 6CVS-2009-02-17 (CVS)
New Comment:
The footer is part of the chunked-encoding. The chunking is done (if at
all) by the web server - we have no control over that.
Previous Comments:
------------------------------------------------------------------------
[2009-02-17 07:27:41] henke at henke37 dot cjb dot net
Description:
------------
There is no footer function to go with the header function. The http
1.1 rfc introduced reply footers, there should be a way to set those.
Reproduce code:
---------------
<?php
$contents=ob_get_flush();
echo $contents
footer('MD5:'.md5($contents));
Expected result:
----------------
The footer should be sent.
Actual result:
--------------
The function does not exist.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=47417&edit=1