[prev in list] [next in list] [prev in thread] [next in thread]
List: zope
Subject: Re: [Zope] Use of Client.py
From: Encolpe DEGOUTE <edegoute () nuxeo ! com>
Date: 2003-05-30 14:58:24
[Download RAW message or body]
On Wed, 28 May 2003 23:03:24 +0200
Dieter Maurer <dieter@handshake.de> wrote:
> Encolpe DEGOUTE wrote at 2003-5-27 17:49 +0200:
> > i had got a problem today with lib/python/ZPublisher/Client.py.
> > When it takes a file in the MultiPart function, it look only at the
> > _extmap dictionary to calculate the mime-type.
> > This one is small and there is no method to force the mime-type in
> > that one is not in _extmap.
> > Today i have just add 'application/zip', but i don't think it's the
> > right way to do this.
> > What do you think of this?
>
> I think the "Client" authors wanted client to be independent of
> Zope.
>
> If this is not a requirement for you, I would use the same
> content type detection that is used for "OFS.Image.File".
Ok, I will do it when I will have a little time for it.
--
Encolpe DEGOUTE, Ingénieur Logiciel, Nuxeo SARL: Zope Service Provider.
Mail: edegoute@nuxeo.com - Tel: +33 (0)1 40 33 79 18
Nuxeo Collaborative Portal Server: http://www.nuxeo.com/cps
Gestion de contenu web / portail collaboratif / groupware / open source
_______________________________________________
Zope maillist - Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
(Related lists -
http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope-dev )
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic