11 Feb
2011
11 Feb
'11
12:38 p.m.
On 10/02/11 17:36, Oleg A. Mamontov wrote:
+ my $lmod = strftime '%a, %d %b %Y %H:%M:%S GMT', gmtime(stat($fh)->mtime); + my $imod = Dancer::SharedData->request->header('If-Modified-Since') || ''; + + Dancer::Response->status( $lmod eq $imod ? 304 : $status ); ... + Dancer::Response::set_current_content($fh) unless $lmod eq $imod;
Should this not be "ge" rather than "eq"? -- Richard Huxton Archonet Ltd