I wrapped the minz package. Unfortunately minz is not gzip compatible that is needed by http.
I think but i am not 100%, but you might need to use the gzlipfiles protocol: [https://github.com/nim-lang/zip/blob/master/zip/gzipfiles.nim](https://github.com/nim-lang/zip/blob/master/zip/gzipfiles.nim) not the zlib "plain" protocol which is what minz has. Your best solution is to figure out the zlib issue. I would play with 32/64 bit ulong stuff. I think recent commits to fix it on windows broke it for linux/mac? [https://github.com/nim-lang/zip/commits/master](https://github.com/nim-lang/zip/commits/master) I would also try switching to gzlipfiles as well.