GitHub user mike-jumper opened a pull request:

    https://github.com/apache/incubator-guacamole-client/pull/144

    GUACAMOLE-250: Ensure static downloads of Guacamole protocol data are 
handled as text.

    If a static download of Guacamole protocol data is initiated using 
`Guacamole.StaticHTTPTunnel`, the web server may always not respond with a 
proper `Content-Type` header, in which case the browser will assume the content 
is XML and attempt to parse it as such.
    
    Setting `responseType` to "text" forces the browser to only interpret the 
response as text, regardless of `Content-Type`, preventing unnecessary XML 
parsing attempts.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/mike-jumper/incubator-guacamole-client 
tunnel-content-type

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/incubator-guacamole-client/pull/144.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #144
    
----
commit 5d6c774be8dd39872e9e4370efb39d58e3cbe2c4
Author: Michael Jumper <[email protected]>
Date:   2017-04-14T05:05:10Z

    GUACAMOLE-250: Ensure static downloads of Guacamole protocol data are 
handled as text, even if the "Content-Type" header is missing.

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to