Ames Andreas (MPA/DF) wrote at 2004-8-19 18:04 +0200:
> ...
>Cause of your hint I looked again and realised that I was wrong.
>HTTPRquest's 'BODYFILE' field fails to reset the file before accessing
>it (as in OFS/Image.py the File class does).  That could be easily
>fixed.  What's worse is that FiledStorage can possibly create
>subinstances of itsellf which can possibly contain other fileobjects.
>This is the case for multipart-type requests.

Maybe, I have a much simpler solution:

  Something in ZServer makes all file fields seekable by
  delivering them through some temporary (either a StringIO
  or a temporary file).

  Maybe, you could do the same for your requests?

-- 
Dieter
_______________________________________________
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )

Reply via email to