I am facing some really weird bug with Google Cloud Storage.
I uploaded a 1MB zero-filled file to a bucket, and whenever i download it with http i get a different file (Different contents, different md5, same size) than if i download it with https (which gets me the correct file).
The real MD5 is: b6d81b360a5672d80c27430f39153e2c
Example: (You can try it at home)
wget http://storage.googleapis.com/weirdbug/test1m.test
md5 test1m.test
// MD5 (test1m.test) = 0575922c3eda2ae6fb2865cc136f65ee
rm test1m.test
wget https://storage.googleapis.com/weirdbug/test1m.test
md5 test1m.test
// MD5 (test1m.test) = b6d81b360a5672d80c27430f39153e2c
I want to believe that i am doing something wrong on my end, but i can't seem to figure it out.
Any ideas? I thought that GCE Storage should work the same with both HTTP & HTTPS.