Hi, I've been playing around with the application cache features of Firefox (currently using Firefox 3.5.4 for Ubuntu), and run into an issue for which someone here may have a quick answer.
My basic setup is an application server running 2 webapps, one serving up a website using mostly static html and javascript and the other acting as a webservice API serving up data. I'm trying to setup the application cache manifest to include all of the static content from webapp 1, and then use AJAX calls to access the dynamic content from the webservice API. The problem I have appears to be that since the webservice requires http authentication credentials, the whitelist URL does 100% match the AJAX request URL. For example, if I put the following relative in the whitelist section on the manifest, as such: NETWORK: /api/ my AJAX request to the following URL fails: http://username:passw...@localhost:8080/api/ However, if I put the entire path, everything works OK, e.g.: NETWORK: http://username:passw...@localhost:8080/api/ On further reading of the W3C spec, I also attempted to use the '*' wildcard with any luck, as such: NETWORK: * Does anybody have any insight into whether I'm doing something wrong, trying to do something thats not supported, or have found a bug? Thanks in advance, Peter _______________________________________________ dev-tech-network mailing list [email protected] https://lists.mozilla.org/listinfo/dev-tech-network
