Add x-gzip as a mimetype for tarballs.

This commit is contained in:
jakedt 2014-04-07 10:58:53 -04:00
parent 37ad8a414a
commit 8076ad0a20

View file

@ -318,6 +318,7 @@ class DockerfileBuildWorker(Worker):
'application/octet-stream': DockerfileBuildWorker.__prepare_dockerfile,
'application/x-tar': DockerfileBuildWorker.__prepare_tarball,
'application/gzip': DockerfileBuildWorker.__prepare_tarball,
'application/x-gzip': DockerfileBuildWorker.__prepare_tarball,
}
self._timeout = Event()