[reportlab-users] Serving a PDF file (naming problem)

Erik Stephens reportlab-users@reportlab.com
Thu Nov 11 20:24:23 EST 2004

On Nov 11, 2004, at 10:44 AM, Tim Johnson wrote:

>   Thanks Eric. That makes sense.
>   But, unfortunately, the browsers are still not *getting* the file
>   name and are still offering to save it as 'kbServePDF', rather
>   than 'my_ad'.
>   I've used both "inline" and "attachment" for the content-disposition.

Remember that the print statement will print a newline.  So:

   print "something\n"

will effectively print 'something\n\n'.


More information about the reportlab-users mailing list