[Twisted-Python] How can I change the default behaviour?

Leslie Huyan leslie at exoweb.net
Sun May 8 20:01:17 MDT 2005


Hi:
    I encountered one problem to dig into twisted.
    If I have 2 methods in the call back chain, however I don't want the 
result of the first one to pass to the second one as its arguments, what 
should I do?
    For example:
    defer.addCallbacks(request.write, html)
    defer.addCallbacks(request.setHeader, key, value)

Thank you.




More information about the Twisted-Python mailing list