support gzip and deflate by default