You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Mike Dewhirst <mi...@dewhirst.com.au> on 2006/03/05 06:17:23 UTC

[users@httpd] serving pdf

How do I serve pdf output from python scripts directly to the user's 
browser?

I know I can write the output to a pdf file and then serve an 
intermediate page containing a link or button for the user to click but 
I want to bypass that step.

The pdf output contains info the user wants to remain private so it 
would be brilliant to avoid writing it as a file then linking to it. I 
suppose I could delete the file afterwards if I'm forced to go that way.

Also, we don't want the user to be able to alter the content hence html 
output - although easy - is not the way to go.

Thanks for hints or links to more info. Professor Google hasn't been so 
helpful so far.

Mike

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org