Hi,

I'd like to switch my app to Basic Auth and everything seems to work quite
well.
But I have problems getting my CSV downloads to work:

* Pure XHR download does not trigger any download/save dialog in browser. As
far as I know, there's no way utilizing XHR for this.

* Setting window.location.href = url works, but Standalone.close() is
called, which irritates users (I've overwritten Standalone.close() to return
an arbitrary string to warn the user before leaving/reloading page.)

* Creating an IFrame with my url. This is the proposed way to go. BUT: No
Basic Auth! http://username:password@url does not work. Is it somehow
possible to inject Auth headers into IFrame's request? Maybe use XHR for
download and pass result into the IFrame - on a low level?

Regards,

Markus







--
View this message in context: 
http://qooxdoo.678.n2.nabble.com/Download-button-iframe-Basic-Auth-tp7583082.html
Sent from the qooxdoo mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to