… | |
… | |
466 | } else { |
466 | } else { |
467 | $self->err (404, "not found"); |
467 | $self->err (404, "not found"); |
468 | } |
468 | } |
469 | } else { |
469 | } else { |
470 | |
470 | |
471 | stat $path |
471 | Coro::AIO::aio_stat $path |
472 | or $self->err (404, "not found"); |
472 | and $self->err (404, "not found"); |
473 | |
473 | |
474 | $self->{stat} = [stat _]; |
474 | $self->{stat} = [stat _]; |
475 | |
475 | |
476 | # idiotic netscape sends idiotic headers AGAIN |
476 | # idiotic netscape sends idiotic headers AGAIN |
477 | my $ims = $self->{h}{"if-modified-since"} =~ /^([^;]+)/ |
477 | my $ims = $self->{h}{"if-modified-since"} =~ /^([^;]+)/ |