I have an ajax response receiving as Content-Encoding as gzip.
I would like to convert it into base64 encoded string.
In firefox/firebug Net tab I can open response and see in base64 encoded text.
As you can see below, firebug can convert response into base64 string. I can save this file as abc.zip and unzip successfully. How can I achieve it in JavaScript? (Converting ajax response into base64 string)