At present, there is no way. Agent
itself doesn't expose this information, nor an API for discovering this information. Neither does the IResponse
provider which you get back from the Deferred
returned by Agent.request
.
This sounds like a good feature request to file at http://twistedmatrix.com/trac :)