We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b56905c commit 52a7e4fCopy full SHA for 52a7e4f
lib/s3_website/upload.rb
@@ -49,6 +49,7 @@ def gzip?
49
50
def gzipped_file
51
tempfile = Tempfile.new(File.basename(path))
52
+ tempfile.binmode
53
54
gz = Zlib::GzipWriter.new(tempfile, Zlib::BEST_COMPRESSION, Zlib::DEFAULT_STRATEGY)
55
0 commit comments