From 46cedb1a9096e8dac35c5103256a43b7856adba0 Mon Sep 17 00:00:00 2001 From: Colin Kuskie Date: Sat, 16 May 2009 17:37:17 -0700 Subject: [PATCH] Use the correct HTTP header for lastModified --- lib/WebGUI/FilePump/Bundle.pm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/WebGUI/FilePump/Bundle.pm b/lib/WebGUI/FilePump/Bundle.pm index ccad6d204..456fc7f8c 100644 --- a/lib/WebGUI/FilePump/Bundle.pm +++ b/lib/WebGUI/FilePump/Bundle.pm @@ -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; }