Anton,

In my recollection of past IE issues with downloading
dynamic pdfs, I finally gave up and wrote the pdf out to a
file, then redirected.  This was with very old IE 5.0
browsers, though, and I'd have thought this issue was behind
us.  Anyway, it may be a short-term fix for your situation,
and easier to implement than getting your clients to
switch/upgrade browsers.

You'd only need to do this on a case-by-case basis by
checking the browser type/version.  With most browsers you
could continue to serve your pdfs dynamically.

Jeff Bauer
Rubicon, Inc.

On 01/23/2010 04:22 AM, Anthon wrote:
I have some problems downloadin a PDF file over https.
The setup is mod_wsgi + apache (python 2.6).
Downloading via https to Firefox works without a problem as does
downloading over HTTP (both IE7 and Firefox).
I tried to  download a .csv file from the appadmin database
administration pages and that doesn't work either so it doesn't seem
to involve my particular use of response.headers and response.stream.
(FWIW I tried both direct streaming as well as first writing a file).

I could not manage to setup running web2py from the commandline using
SSL to check if this is a mod_wsgi problem: on my local machine I get
a connection but have no valid certificates and on my server I have
valid certificates but cannot get ssl to run yet
( "WARNING:root:OpenSSL libraries unavailable. SSL is OFF" )

I tried to see if the web2py demo pages have the .csv downloading
enabled since those work over https as well (https://web2py.com/
demo_app/appadmin/select/db/event) but downloading has been disabled
there (because it is demo I can understand that uploading is
disabled...).

I am next going to try and see if this is a IE7 issue (by installing
IE8) but I am not sure if I can convince my clients to switch if that
solves the issue (as I might as well ask them to use Firefox in that
case).

Any help or insights would be appreciated.

Anthon


--
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To post to this group, send email to web...@googlegroups.com.
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en.

Reply via email to