diff --git a/pkg/ext/compression.go b/pkg/ext/compression.go
index 57ad49ad64f6654f9ec39ea50af972f0739d5e44..9e933ef22eb9cfc94962fe018fff50503e11db6e 100644
--- a/pkg/ext/compression.go
+++ b/pkg/ext/compression.go
@@ -26,6 +26,13 @@ }
func Compress(next http.HandlerFunc) http.HandlerFunc {
return func(w http.ResponseWriter, r *http.Request) {
+
+ // TODO: hand this better
+ if strings.HasSuffix(r.URL.Path, ".tar.gz") {
+ next(w, r)
+ return
+ }
+
if accept, ok := r.Header["Accept-Encoding"]; ok {
if compress, algo := GetCompressionWriter(u.FirstOrZero(accept), w); algo != "" {
defer compress.Close()