Fix #348
Added GZIP_EXTENSIONS option
flake8