6 Apr
2004
6 Apr
'04
3:59 a.m.
I installed Zope 2.7 in Windows. I've created a simple hello.py containing a hello function: def hello( self, name="World" ): return "Hello, %s" % name This module is in D:\Zope-Instance\Extensions\.
In Zope, I created a folder from root and add the hello external method to that folder. I clicked on the external method and then clicked on the Test tab, and instead of running the method, a window opened and ask if I wanted to download hello.txt.
What's happening???
That's your browser reacting to the fact that the response returned from that method does nothing to tell it about the content type it is receiving I would assume. jens