Re: [PATCH 1/6] gitweb: Separate HTTP header output
- From
Shawn Pearce <spearce@spearce.org>
- Date
- Dec 28, 2006, 01:28 UTC
- Message-ID
- <20061228012800.GA16612@spearce.org>
- In-Reply-To
- <7v7iwc4xu9.fsf@assigned-by-dhcp.cox.net>
Junio C Hamano <junkio@cox.net> wrote:
Show 5 quoted lines
> which means it does not omit generating the body anyway no > matter what "sub http_header" did... > > Or is there some Perl magic that makes a return from sub named > *_header magically terminate the execution of the caller?
No magic. Bad patch. Your assessment of the patch is correct; it is not avoiding the body generation for a HEAD request.
-- Shawn.