[Zope3-Users] URGENT RFC: Is anyone using response.write in Zope 3?

2005-12-19 Thread Jim Fulton


When we refactored the Zope 3 pubisher to work more closely with WSGI,
we decided to remove the response.write method.  We should have written
a proposal for this, but we failed to do so.  Over the last few weeks
there has been much discussion of this in which I asserted many times
that I didn't think any applications outside of Zope 3 itself used this
method.  No one has disagreed with me.  I want to double check this.
Does anyone have any Zope 3 applications that are using response.write?

Assuming that the answer is no (or that no one answers today), I'm going to
more clearly document how to return long output and I'm going to add a
method that generates a hopefully helpful error.

Note that we may add this method (or something like it) back in the future
to support chunked streaming output,

Jim

--
Jim Fulton   mailto:[EMAIL PROTECTED]   Python Powered!
CTO  (540) 361-1714http://www.python.org
Zope Corporation http://www.zope.com   http://www.zope.org
___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users


[Zope3-Users] Re: URGENT RFC: Is anyone using response.write in Zope 3?

2005-12-19 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Jim Fulton wrote:

 When we refactored the Zope 3 pubisher to work more closely with WSGI,
 we decided to remove the response.write method.  We should have written
 a proposal for this, but we failed to do so.  Over the last few weeks
 there has been much discussion of this in which I asserted many times
 that I didn't think any applications outside of Zope 3 itself used this
 method.  No one has disagreed with me.  I want to double check this.
 Does anyone have any Zope 3 applications that are using response.write?
 
 Assuming that the answer is no (or that no one answers today), I'm
 going to
 more clearly document how to return long output and I'm going to add a
 method that generates a hopefully helpful error.
 
 Note that we may add this method (or something like it) back in the future
 to support chunked streaming output,

IIRC, Christian Theune wrote that he had been using 'response.write';  I
think the note was in the Twisted Publisher thread about a week and a
half back.

CC'ing him to ensure he knows to respond today.


Tres.
- --
===
Tres Seaver  +1 202-558-7113  [EMAIL PROTECTED]
Palladion Software   Excellence by Designhttp://palladion.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDptN9+gerLs4ltQ4RAnhiAJ9TvhSSBDPj6HmbNkL/otDduioBFACdF0VP
m5iJH+iy7meJBSrlXyPLQZI=
=94K7
-END PGP SIGNATURE-

___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users


[Zope3-Users] Re: [Zope3-dev] URGENT RFC: Is anyone using response.write in Zope 3?

2005-12-19 Thread Jeff Shell
I was using it in some custom views for HurryFile based images. I've
removed it since I started testing our code against Zope 3.2. Right
now I just return the hurryfile binary data with a return statement
(one big chunk), but am looking forward to knowing how to return long
output.

On 12/19/05, Jim Fulton [EMAIL PROTECTED] wrote:

 When we refactored the Zope 3 pubisher to work more closely with WSGI,
 we decided to remove the response.write method.  We should have written
 a proposal for this, but we failed to do so.  Over the last few weeks
 there has been much discussion of this in which I asserted many times
 that I didn't think any applications outside of Zope 3 itself used this
 method.  No one has disagreed with me.  I want to double check this.
 Does anyone have any Zope 3 applications that are using response.write?

 Assuming that the answer is no (or that no one answers today), I'm going to
 more clearly document how to return long output and I'm going to add a
 method that generates a hopefully helpful error.

 Note that we may add this method (or something like it) back in the future
 to support chunked streaming output,

 Jim

 --
 Jim Fulton   mailto:[EMAIL PROTECTED]   Python Powered!
 CTO  (540) 361-1714http://www.python.org
 Zope Corporation http://www.zope.com   http://www.zope.org
 ___
 Zope3-dev mailing list
 Zope3-dev@zope.org
 Unsub: http://mail.zope.org/mailman/options/zope3-dev/eucci.group%40gmail.com


___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users


[Zope3-Users] Re: URGENT RFC: Is anyone using response.write in Zope 3?

2005-12-19 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Jeff Shell wrote:
 Yes, it's hurry.file. What's Tramline?
 
 We're using hurry.file for small images, generally, and it's been
 working fine. We've recently written a cache manager that writes the
 images out to the file system where Apache can serve them.

Heh, that would be tramline, or half of it, anyway. ;)

http://faassen.n--tree.net/blog/view/weblog/2005/11/11/0


Tres.
- --
===
Tres Seaver  +1 202-558-7113  [EMAIL PROTECTED]
Palladion Software   Excellence by Designhttp://palladion.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDpv5Z+gerLs4ltQ4RAtK4AJ9wnZuLJjyH/Ahfhpi5Sk4AN1Qi9gCeNSgo
MsRgJsQRrAhsnmFWUwPPUHs=
=wrZ2
-END PGP SIGNATURE-

___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users