Github user mike-jumper commented on a diff in the pull request:
https://github.com/apache/incubator-guacamole-client/pull/211#discussion_r152057728
--- Diff: guacamole-common-js/src/main/webapp/modules/Tunnel.js ---
@@ -1107,6 +1113,31 @@ Guacamole.StaticHTTPTunnel = function
StaticHTTPTunnel(url, crossDomain) {
*/
var xhr = null;
+ /**
+ * Additional headers to be sent in tunnel requests. This dictionary
can be
+ * populated with key/value header pairs to pass information such as
authentication
+ * tokens, etc.
+ *
+ * @private
+ */
+ var extraHeaders = extraTunnelHeaders ||Â {};
+
+ /**
+ * Adds the configured additional headers to the given request.
+ *
+ * @param {XMLHttpRequest} request
+ * The request where the configured extra headers will be added.
+ * @param {Object} headers
--- End diff --
Same here - blank line, plase.
---