only gzip when not in debug

Not being able to see the actual api output (because its gziped) is quite annoying