Re: [PATCH] Allow unsetting headers previously set usingheader()
| From: | Stan Vassilev | FM | Date: | Wed, 22 Oct 2008 12:02:30 +0000 |
| Subject: | Re: [PATCH] Allow unsetting headers previously set usingheader() | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-41319@lists.php.net to get a copy of this message | ||
I suggest header_remove('*') or simply header_remove() /no param/ removes all headers (including the one PHP sets by default), so we can start with a clear state. Regards, Stan VassilevThat isn't very intuitive. I would think it was a typo when reading such code and fix the header line... I'd suggest explicit header_remove("Vary");Agreed, a specific function with a clear name sounds better. Christian, can you update the patch? - thanks! johannes