Opened 10 years ago

#4410 enhancement new

Basic/Digest Authentication for twisted.web.client

Reported by: Alex Owned by:
Priority: normal Milestone:
Component: web Keywords:
Cc: Branch:
Author:

Description

It would be very useful to have an implementation of Basic/Digest authentication in twisted.web.client.

I am requesting this only as a proposal, but I found out that in 2004, a working (at the moment) implementation/patch of such authentication methods was presented in the mailing list, see http://twistedmatrix.com/pipermail/twisted-python/2004-October/008748.html

I'll attach that patch for history/reference, though please note that the patch was actual for 2004 but definitely needs tweaking in 2010 (in particular, some code from twisted.cred may be reused). (But I have to mention, that I used the code from the patch to make a well-working Digest implementation in Twisted 10 for my own purposes). Also, as mentioned in the discussion, the unit tests are lacking as well.

Attachments (1)

client-digest-patch-from-2004.patch (10.3 KB) - added by Alex 10 years ago.
The example implementation, as posted in 2004

Download all attachments as: .zip

Change History (2)

Changed 10 years ago by Alex

The example implementation, as posted in 2004

comment:1 Changed 9 years ago by <automation>

Owner: jknight deleted
Note: See TracTickets for help on using tickets.