… | … | ||
---|---|---|---|
470 | 470 | ||
471 | $self->response(200, "ok", | 471 | $self->response(200, "ok", |
472 | { | 472 | { |
473 | "Content-Type" => "text/html", | 473 | "Content-Type" => "text/html", |
474 | "Content-Length" => length $idx, | 474 | "Content-Length" => length $idx, |
475 | #d# directories change all the time, so X- | ||
476 | "X-Last-Modified" => time2str ((stat _)[9]), | 475 | "Last-Modified" => time2str ((stat _)[9]), |
477 | }, | 476 | }, |
478 | $idx); | 477 | $idx); |
479 | } | 478 | } |
480 | 479 | ||
481 | sub handle_file { | 480 | sub handle_file { |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |