[PHP-DEV] Re: [PATCH] Allow unsetting headers previously set by header()

2008-03-31 Thread Christian Schmidt
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

Re: [PHP-DEV] Re: [PATCH] Allow unsetting headers previously set by header()

2008-03-30 Thread Sam Barrow
On Sun, 2008-03-30 at 16:05 -0400, Edward Z. Yang wrote: > Christian Schmidt wrote: > > What do you think of the general idea of being able to unset > headers? > > And what do you think of my patch? > > If you need this kind of flexibility, I recommend you make an > HttpHeaders class which manages

[PHP-DEV] Re: [PATCH] Allow unsetting headers previously set by header()

2008-03-30 Thread Edward Z. Yang
Christian Schmidt wrote: > What do you think of the general idea of being able to unset headers? > And what do you think of my patch? If you need this kind of flexibility, I recommend you make an HttpHeaders class which manages these things and then sends them when necessary. -- Edward Z. Yang