[Zope] Webdav and mimetypes

Chris McDonough chrism at plope.com
Mon Jul 26 14:21:22 EDT 2004


On Mon, 2004-07-26 at 14:03, Kirk Strauser wrote:
> On Monday 26 July 2004 11:38, Chris McDonough wrote:
> 
> > I *think* you can give each of these ZODB objects a property named
> > "content-type" set to the content type you want it to be and it will do
> > the right thing.  You probably don't want to do this on each object, but
> > this can happen now.
> 
> Actually, there's no way to add properties to a Python script through the 
> management interface, and I don't believe that it would be conceptually 
> possible anyway (since you should theoretically be setting the properties 
> inside the script itself).  I think.  I would be pleasantly surprised to 
> find out that I'm wrong.  :)

Right you are, sorry.

It would likely still be possible to set a content-type attribute on
these objects (albeit not via the management interface; likely via the
debugger or an external method or product code or whatever), and that
might have the "right" effect.

- C




More information about the Zope mailing list