Bug #16092 Updated: Ability to supress/delete HTTP headers (especially Content-Type)
| From: | jgirouard at macrowerx dot com | Date: | Fri, 15 Mar 2002 17:04:13 +0000 |
| Subject: | Bug #16092 Updated: Ability to supress/delete HTTP headers (especially Content-Type) | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-2592@lists.php.net to get a copy of this message | ||
ID: 16092
Updated by: jgirouard@macrowerx.com
Reported By: jgirouard@macrowerx.com
-Status: Feedback
+Status: Open
Bug Type: Feature/Change Request
Operating System: FreeBSD 4.2
PHP Version: 4.1.2
New Comment:
No, I experimented with the header() function, but it does not do what
I need unless there is something about header() that is not
documented.
I need to be able to completely do away with all the conventional
headers. Something along the lines of header_delete("Content-Type")
would be great! :)
I guess what I'm looking for is a mod_php4 equivalent of the -q switch
in the command line version of php.
Previous Comments:
------------------------------------------------------------------------
[2002-03-15 10:00:54] sniper@php.net
http://www.php.net/manual/en/function.header.php
You can replace headers..is this enough?
--Jani
------------------------------------------------------------------------
[2002-03-15 04:37:26] jgirouard@macrowerx.com
I would like the ability send raw headers to Apache or web client, or
at least to delete headers before they are sent to the client.
As a developer, it is important to me to have the freedom to determine
which headers I need for my particular application. Having the
Content-Type header forced on me is really throwing a wrench in my
project.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=16092&edit=1