handlers/gzip: avoid sending response body in case of 304