Setting the filename of a PDF response

August Karlstrom <[email protected]>
Newsgroups gmane.comp.web.dillo.devel
Message-ID <[email protected]>
I'm working on a web page with a form which generates a PDF document in 
memory and returns it to the user. In the response header I have set

		Content-Type: application/pdf
		Content-Disposition: attachment; filename="foo.pdf"

However, Dillo seems to ignore the specified filename and instead uses 
the URL base name plus query string as the default filename in the 
download dialog window. Any suggestions?


-- August
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.