Brian Lloyd wrote:
> What if we change this to:
>
> if a 'content_type' attribute exists, it is used
>
> else if the object's id seems to have a file extension
> (. in the id), try to use guess_content_type
>
> > else if there is a 'default_content_type' attribute, use that
It would be cool if this could be acquired :-)
>
> else fall back to the hated application/octet-stream
> (or, I've seen x-unknown-content-type used before,
> but I don't know if this is really any better).
>
> Then we could put a 'default_content_type' attribute in the
> class of dtml documents and methods, which would take care of
> the most common case. Thoughts?
Looks great otherwise :-)
Chris
_______________________________________________
Zope maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
(Related lists -
http://lists.zope.org/mailman/listinfo/zope-announce
http://lists.zope.org/mailman/listinfo/zope-dev )