[Twisted-web] Possible bug in nevow.testutil.FakeRequest setHeaders and getHeaders

Peter Westlake peter.westlake at pobox.com
Fri Oct 1 12:28:55 EDT 2010


On Wed, 29 Sep 2010 20:53 +0000, exarkun at twistedmatrix.com wrote:
> On 07:57 pm, glyph at twistedmatrix.com wrote:
> >
> >On Sep 29, 2010, at 11:31 AM, exarkun at 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.



More information about the Twisted-web mailing list