… | … | ||
---|---|---|---|
529 | my $self = shift; | 529 | my $self = shift; |
530 | my $idx = $self->diridx; | 530 | my $idx = $self->diridx; |
531 | 531 | ||
532 | $self->response(200, "ok", | 532 | $self->response(200, "ok", |
533 | { | 533 | { |
534 | "Content-Type" => "text/html", | 534 | "Content-Type" => "text/html; charset=utf-8", |
535 | "Content-Length" => length $idx, | 535 | "Content-Length" => length $idx, |
536 | "Last-Modified" => time2str ($self->{stat}[9]), | 536 | "Last-Modified" => time2str ($self->{stat}[9]), |
537 | }, | 537 | }, |
538 | $idx); | 538 | $idx); |
539 | } | 539 | } |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |