Skip to content

Commit

Permalink
used predefined variable
Browse files Browse the repository at this point in the history
  • Loading branch information
Kieran Elliott committed Apr 26, 2012
1 parent 6180ab4 commit 9e9eddb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/fakes3/server.rb
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ def do_GET(request, response)
return
end
end
response['Content-Length'] = File::Stat.new(real_obj.io.path).size
response['Content-Length'] = content_length
response['Last-Modified'] = real_obj.modified_date
if s_req.http_verb == 'HEAD'
response.body = ""
Expand Down

0 comments on commit 9e9eddb

Please sign in to comment.