Ticket #3451 enhancement new
Opened 5 years ago
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
Note: See
TracTickets for help on using
tickets.
