Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:41319 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 79459 invoked from network); 22 Oct 2008 12:02:41 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 22 Oct 2008 12:02:41 -0000 Authentication-Results: pb1.pair.com smtp.mail=sv_forums@fmethod.com; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=sv_forums@fmethod.com; sender-id=unknown Received-SPF: error (pb1.pair.com: domain fmethod.com from 69.16.228.148 cause and error) X-PHP-List-Original-Sender: sv_forums@fmethod.com X-Host-Fingerprint: 69.16.228.148 unknown Linux 2.4/2.6 Received: from [69.16.228.148] ([69.16.228.148:38001] helo=host.fmethod.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id F8/00-13186-E561FF84 for ; Wed, 22 Oct 2008 08:02:38 -0400 Received: from [83.228.56.37] (port=1272 helo=pc) by host.fmethod.com with esmtpa (Exim 4.69) (envelope-from ) id 1KscQ7-0004XD-7b for internals@lists.php.net; Wed, 22 Oct 2008 07:02:35 -0500 Message-ID: <42FD82032C7D484CAC254FC5D6C292E1@pc> To: References: <48FBA987.5030809@peytz.dk> <7f3ed2c30810200012pbdb0530u4561cb1848dab89f@mail.gmail.com> <1224675641.19390.61.camel@goldfinger.johannes.nop> Date: Wed, 22 Oct 2008 15:02:30 +0300 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="koi8-r"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.5512 x-mimeole: Produced By Microsoft MimeOLE V6.00.2900.5579 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - host.fmethod.com X-AntiAbuse: Original Domain - lists.php.net X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - fmethod.com Subject: Re: [PHP-DEV] [PATCH] Allow unsetting headers previously set usingheader() From: sv_forums@fmethod.com ("Stan Vassilev | FM") >> That 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 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 Vassilev