On Wed, 29 Sep 2010 20:53 +0000, exarkun@twistedmatrix.com wrote:
On 07:57 pm, glyph@twistedmatrix.com wrote:
On Sep 29, 2010, at 11:31 AM, exarkun@twistedmatrix.com wrote:
First there would be tickets (plural) for adding features to Twisted's Request and FakeRequest from Nevow. Then there would be tickets (or maybe just a ticket) for deleting the corresponding (then redundant) code from Nevow.
These are in as http://twistedmatrix.com/trac/ticket/4662 and http://twistedmatrix.com/trac/ticket/4663.
My two cents here would be to move in the direction of making Request itself a data structure which could be manipulated in memory, rather than having it tightly bound to the HTTP connection, and then having a discrete test double.
I put this into the comments for 4662. Peter.