Re: HTTP authentication for twisted.web.client.Agent (#5148)

Matt Behrens <[email protected]> Mon, 8 Apr 2013 07:59:10 -0400
Newsgroups gmane.comp.python.twisted.web
Message-ID <[email protected]>
On Apr 7, 2013, at 3:23 PM, Jonathan Jacobs <[email protected]> wrote:

> After reading your mail I was surprised this wasn't already in
> Twisted, JP Calderone, the branch author, brought something to my
> attention that perhaps makes this a little harder than it seems:
> 
> The body producer may not be restartable, which means you need to
> buffer a copy of the body in case it needs to be replayed. With 100
> Continue support you might be able to work around that but then you
> need to be communicating with a server that supports that feature.

Right, yes, that would complicate matters.  Clearly, I hadn't thought that all the way through yet.

> Hopefully the currently-in-development tubes API
> <https://twistedmatrix.com/trac/ticket/1956> will make it easier to
> accommodate this requirement (and if not then perhaps the tubes API
> *should* make something like this easier.)

I can see where it would, but given as that's almost certainly a bit out yet I think will see about building out my own agent for now, and see where that goes.  Sorry if I got anyone's hopes up, but my original thought is looking a bit more out of my reach at the moment. ;-)

_______________________________________________
Twisted-web mailing list
[email protected]
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-web
smime.p7s (application/pkcs7-signature, 4.2 KB) - not displayed