[Zope] Re: Folderish objects and that BASE tag...

R. David Murray bitz@bitdance.com
Wed, 26 Jul 2000 15:44:53 -0400 (EDT)


On Mon, 24 Jul 2000, Chris Withers wrote:
> > I belive that it is returning:
> > 
> > http://my.zope/site/file.html/index_html
> 
> I wonder what index_html that is then? :S

From lib/python/OFS/Image.py (which also implements generic file object):

    def index_html(self, REQUEST, RESPONSE):
        """
        The default view of the contents of a File or Image.
         
        Returns the contents of the file or image.  Also, sets the
        Content-Type HTTP header to the objects content type.
        """