On 01:54 pm, luke-li...@hybrid-logic.co.uk wrote: >On Thu, 2010-07-15 at 14:28 +0100, Reza Lotun wrote: >> > I suspect you can do this without subclassing... pass in IP address, >>and >> > just make sure you pass correct Host header. I forget the exact API >> > though. > >[snip] >But a separate class >which uses the Agent's API makes a lot more sense, and it can equally >provide the same interface as Agent so that any code which uses Agent >can use it without modifications.
Hooray. This is exactly the intended approach to extending Agent. I'm glad you figured it out on your own. :) Jean-Paul _______________________________________________ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python