ie:
self.response().setHeader('Content-Disposition','attachment;filename=Report.xls')
http://webware.sourceforge.net/Webware-0.8.1/WebKit/Docs/Source/Files/HTTPResponse.py.html
-Aaron
Costas Malamas wrote:
Hey all,
I am trying to implement 304/Not-Modified responses for WK, but I don't seem to be able to find a way to access the Request HTTP headers to get the If-not-Modified-Since and the Etag header (whose long name escapes me now). Is there an API for that? has anybody done 304s from WK before?
On an unrelaed note, FYI, I implemented Geoffrey's Cache on my WK installation just recently, and I have to say that memigo.com survived quite a large Slashdotting last week with hardly a hickup (to the point that my SSH connection to the server was slow but WK was pumping HTML as fast as ever). Props to everybody, and Geoffrey in particular.
Costas
_________________________________________________________________
Tired of spam? Get advanced junk mail protection with MSN 8. http://join.msn.com/?page=features/junkmail
------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Webware-discuss mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/webware-discuss
------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Webware-discuss mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/webware-discuss
