GUACAMOLE-250: Merge response type fix for static protocol data download.

This commit is contained in:
James Muehlner
2017-04-14 14:14:19 -07:00

View File

@@ -1139,6 +1139,7 @@ Guacamole.StaticHTTPTunnel = function StaticHTTPTunnel(url, crossDomain) {
xhr = new XMLHttpRequest(); xhr = new XMLHttpRequest();
xhr.open('GET', url); xhr.open('GET', url);
xhr.withCredentials = !!crossDomain; xhr.withCredentials = !!crossDomain;
xhr.responseType = 'text';
xhr.send(null); xhr.send(null);
var offset = 0; var offset = 0;