Skip to content

Commit

Permalink
RightAws: S3: typo fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Konstantin committed Mar 31, 2010
1 parent 08351bd commit 8d7a660
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/s3/right_s3_interface.rb
Original file line number Diff line number Diff line change
Expand Up @@ -94,8 +94,8 @@ def canonical_string(method, path, headers={}, expires=nil) # :nodoc:
headers.each do |key, value|
key = key.downcase
value = case
when value.is_?(Array) then value.join('')
else value.to_s
when value.is_a?(Array) then value.join('')
else value.to_s
end
s3_headers[key] = value.strip if key[/^#{AMAZON_HEADER_PREFIX}|^content-md5$|^content-type$|^date$/o]
end
Expand Down

0 comments on commit 8d7a660

Please sign in to comment.