Opened 11 years ago

#3451 enhancement new

twisted.web._auth.digest.DigestedCredentials duplicates digest calculation code between checkPassword and checkHash methods

Reported by: Jean-Paul Calderone Owned by:
Priority: normal Milestone:
Component: web Keywords:
Cc: Branch:


There's a lot of duplication between these two methods. It could be refactored into a third method and used by each of these. As a bonus, this would perhaps be code useful to a client library which also needs to construct an appropriate value for the response field.

Change History (1)

comment:1 Changed 8 years ago by <automation>

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