summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/chef/provider/remote_file/http.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/provider/remote_file/http.rb b/lib/chef/provider/remote_file/http.rb
index 40f64a0e85..ec45b4df59 100644
--- a/lib/chef/provider/remote_file/http.rb
+++ b/lib/chef/provider/remote_file/http.rb
@@ -113,7 +113,7 @@ class Chef
end
def last_modified_time_from(response)
- response["last_modified"] || response["date"]
+ response["last-modified"] || response["date"]
end
def etag_from(response)