Fix gzip header issue
Merge pull request #372 from dotcloud/mirroring_fixes

Fix gzip header issue