Opened 6 years ago

#3451 enhancement new

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

Reported by: exarkun Owned by:
Priority: normal Milestone:
Component: web Keywords:
Cc: Branch:
Author: Launchpad Bug:

Description

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 4 years ago by <automation>

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