Edward Z. Yang wrote:
If you need this kind of flexibility, I recommend you make an HttpHeaders class which manages these things and then sends them when necessary.
Thanks, I'll consider that for now. However, it has the downside that I have to make an explicit function call in every PHP file in order to send the headers. My use case is a site with an auto_prepend_file that sets a header that is relevant for almost all .php files on the site except a few that unsets the header.
So I hope people my patch for the PHP core will still be considered. I think the added functionality is in line with the existing functionality to replace and append to existing headers.
Christian -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php