Hi,
I am working on a web app that has a JS client and a server hosted on Tomcat 7 instance. In the client, we instantiate a WebViewer instance and set the "initialDoc" option to a URL that points to a document on our server. However, our server requires custom HTTP request headers for authentication. Is there a way to configure WebViewer to include customer headers when making its request to the "initialDoc" URL to get the XOD document?
Thanks,
Peter
P.S. When initializing our application client, we setup jQuery's ajax settings using "$.ajaxSetup" to include our custom headers. That way all ajax requests made by our client include our custom headers by default. If possible, is there anyway we could have WebViewer's jQuery instance inherit these settings so that our custom headers are included in ajax requests made by the WebViewer as well? That would be more ideal than manually setting the custom headers that we want WebViewer to include with the request to our server to get the XOD document.