On 10. Aug 2006, at 13:52, Eric Fernandez wrote:

def PUT_factory( self, name, typ, body ):

     ob = None

   if typ.startswith('text'):
       ob = File(name, '', body, content_type=typ)
   return ob

However, I cannot upload jpg files anymore... What am I doing wrong there?


Anything that, in happening, causes something else to happen,
causes something else to happen.  --Douglas Adams

Zope maillist  -  Zope@zope.org
**   No cross posts or HTML encoding!  **
(Related lists - http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope-dev )

Reply via email to