Skip to content
This repository was archived by the owner on Apr 13, 2024. It is now read-only.

Commit 813d2a1

Browse files
committed
Remove duplicated default sign algorithm
1 parent 3e74497 commit 813d2a1

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

httpsig/sign.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -107,9 +107,6 @@ class HeaderSigner(Signer):
107107
'authorization'.
108108
"""
109109
def __init__(self, key_id, secret, algorithm=None, headers=None, sign_header='authorization'):
110-
if algorithm is None:
111-
algorithm = DEFAULT_SIGN_ALGORITHM
112-
113110
super(HeaderSigner, self).__init__(secret=secret, algorithm=algorithm)
114111
self.headers = headers or ['date']
115112
self.signature_template = build_signature_template(

0 commit comments

Comments
 (0)