use gzip for xmlhttprequest