+ if ($ctx->{-path} eq '') {
+ my $tip = 'HEAD';
+ $tip = ascii_html($ctx->{qp}->{h}) if defined($ctx->{qp}->{h});
+ PublicInbox::WwwStream::html_init($ctx);
+ print { $ctx->{zfh} } "<pre>`$tip' ref not found</pre>";
+ my $res = $ctx->html_done;
+ $res->[0] = 404;
+ return delete($ctx->{-wcb})->($res);
+ }