[Twisted-web] HTTP authentication for twisted.web.client.Agent (#5148)

Matt Behrens matt at zigg.com
Mon Apr 8 13:44:45 EDT 2013


On Apr 7, 2013, at 3:23 PM, Jonathan Jacobs <jonathan+twisted at jsphere.com> wrote:

> 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.

One more thought on this that I just found--the auth-int variant of digest authentication appears to require the MD5 hash of the request body, if I'm reading it correctly.  Thus, you'd need to know the hash while generating the Authorization header.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4334 bytes
Desc: not available
Url : http://twistedmatrix.com/pipermail/twisted-web/attachments/20130408/9c68d8fe/attachment.bin 


More information about the Twisted-web mailing list