[Zope] Re: Hacking filenames in http headers?

Garikoitz Araolaza gari@eibar.org
Wed, 07 Aug 2002 13:21:36 +0200


Oooops!!!

I finallly found a solution modifying something in  ZopeLabs:

Generating a downloadable file
http://www.zopelabs.com/cookbook/990792795


Gari

I wrote:
>Hi!
>
>I'm using a DTML method to get an XML view from a ZClass object.
>
>What I'm trying to do, is that when the user requests the address:
>
>http://www.mysite.com/Objects/MyObject/xml
>
>he/she gets an xml file with the ID  MyObject.xml so that he can save it 
>cleanly in his filesystem (or open it with his browser), so that he/she 
>doesn't end up having thousands of files called simply 'xml'.

_________________________________________
Garikoitz Araolaza
gari@eibar.org