apply gzip http patch