Re: [Zope-dev] Patch: let non-seekable streams be input for ZPublisher (updated)

2004-08-24 Thread Ames Andreas (MPA/DF)
Hello, Leonardo Rochael Almeida wrote: Yes, if you file a feature request on the bug collector, which can be found at: I've put the most recent version of the patch to http://collector.zope.org/Zope/1472. cheers, andreas ___ Zope-Dev maillist -

Re: [Zope-dev] Patch: let non-seekable streams be input for ZPublisher (updated)

2004-08-23 Thread Ames Andreas (MPA/DF)
Hello, Dieter Maurer wrote: 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? Yes, I could. But trying to

Re: [Zope-dev] Patch: let non-seekable streams be input for ZPublisher (updated)

2004-08-20 Thread Ames Andreas (MPA/DF)
Hi, Andreas Ames wrote: next trial. I hope I've got it straight now. Not quite so (although this may only be nitpicking ;-). fs_env = environ should have read fs_env = environ.copy() obviously. See attachment. cheers, andreas --- lib.orig/python/ZPublisher/HTTPRequest.py 2004-08-18

Re: [Zope-dev] Patch: let non-seekable streams be input for ZPublisher (updated)

2004-08-20 Thread Dieter Maurer
Ames Andreas (MPA/DF) wrote at 2004-8-18 17:22 +0200: I had a thinko in my previous patch (http://mail.zope.org/pipermail/zope-dev/2004-August/023630.html) which is corrected in the attached version of the patch. Sorry for any inconvenience, I might have caused. I do not think that your patch

Re: [Zope-dev] Patch: let non-seekable streams be input for ZPublisher (updated)

2004-08-20 Thread Ames Andreas (MPA/DF)
Hi Dieter, *, Dieter Maurer wrote: The FieldStorage must be rebuilt, because it can contain file objects. These file objects must be reset as they may have been (partially) read in the previous request. This prevent reusing the previous FieldStorage. As you may have seen in my first

Re: [Zope-dev] Patch: let non-seekable streams be input for ZPublisher (updated)

2004-08-20 Thread Dieter Maurer
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

[Zope-dev] Patch: let non-seekable streams be input for ZPublisher (updated)

2004-08-18 Thread Ames Andreas (MPA/DF)
Hi, I had a thinko in my previous patch (http://mail.zope.org/pipermail/zope-dev/2004-August/023630.html) which is corrected in the attached version of the patch. Sorry for any inconvenience, I might have caused. As I'm sort of protocol challenged (thanks to corporate firewall), svn

Re: [Zope-dev] Patch: let non-seekable streams be input for ZPublisher (updated)

2004-08-18 Thread Leonardo Rochael Almeida
Em Qua, 2004-08-18 às 12:22, Ames Andreas (MPA/DF) escreveu: [...] Questions: - Is this the right forum/place to send patches to? This is the right forum to discuss the patches, and to send them for evaluation if it's a small one, like yours. The best place to actually send patches to is