On 13/03/2008 09:16 Suha Onay wrote:
return [
    T.a(href="/xxx/qqq.lqp")['Save'],
    webform.renderForms()[FORM_LAYOUT],
]

I run this page from Firefox, IE and IE Mobile.
I want the browser open a save as dialog but it shows the file within the browser.
How can I achieve this?

You need to set the MIME type for that extension. Not sure how to do this with the static file method, there is a mapping somewhere which you can pass as arguments to the instance if I remember correctly.

_______________________________________________
Twisted-web mailing list
[email protected]
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-web

Reply via email to