Re: Possible bug in nevow.testutil.FakeRequest setHeaders and getHeaders
"Peter Westlake" <[email protected]>
| Newsgroups | gmane.comp.python.twisted.web |
|---|---|
| Message-ID | <[email protected]> |
On Wed, 29 Sep 2010 20:53 +0000, [email protected] wrote: > On 07:57 pm, [email protected] wrote: > > > >On Sep 29, 2010, at 11:31 AM, [email protected] 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.