fix: handle gzip responses