Use the correct HTTP header for lastModified
This commit is contained in:
parent
9cafcf3a61
commit
46cedb1a90
1 changed files with 3 additions and 2 deletions
|
|
@ -8,6 +8,7 @@ use Path::Class;
|
|||
use CSS::Minifier::XS;
|
||||
use JavaScript::Minifier::XS;
|
||||
use LWP;
|
||||
use Data::Dumper;
|
||||
|
||||
#-------------------------------------------------------------------
|
||||
|
||||
|
|
@ -484,8 +485,8 @@ sub fetchHttp {
|
|||
return {};
|
||||
}
|
||||
my $guts = {
|
||||
lastModified => $response->header('lastModified'),
|
||||
content => $response->content(),
|
||||
content => $response->content,
|
||||
lastModified => $response->header('last-modified'),
|
||||
};
|
||||
return $guts;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue