GUACAMOLE-385: Proper MIME type for tunnel write operations

This commit is contained in:
Ignasi Barrera
2017-09-23 20:55:36 +02:00
parent 0e2da5a2a0
commit 3fbf176a15

View File

@@ -306,7 +306,7 @@ Guacamole.HTTPTunnel = function(tunnelURL, crossDomain) {
var message_xmlhttprequest = new XMLHttpRequest();
message_xmlhttprequest.open("POST", TUNNEL_WRITE + tunnel.uuid);
message_xmlhttprequest.withCredentials = withCredentials;
message_xmlhttprequest.setRequestHeader("Content-type", "application/x-www-form-urlencoded; charset=UTF-8");
message_xmlhttprequest.setRequestHeader("Content-type", "application/octet-stream");
// Once response received, send next queued event.
message_xmlhttprequest.onreadystatechange = function() {