Detect binary data even when content-type doesn't contain 'charset=binary'

This commit is contained in:
2012-11-04 19:29:54 +01:00
parent 44d276a387
commit e2095a34a6
4 changed files with 98 additions and 36 deletions

View File

@@ -43,7 +43,7 @@ def binary_bucket
end
def purge_all_buckets
[data_bucket, directory_bucket, auth_bucket].each do |bucket|
[data_bucket, directory_bucket, auth_bucket, binary_bucket].each do |bucket|
bucket.keys.each {|key| bucket.delete key}
end
end