Use max-age=36h by default

pull/34/head
Andrey Kislyuk 2022-04-14 23:33:05 -07:00
parent 9b7d9269b5
commit b68a6e7db4
No known key found for this signature in database
GPG Key ID: 8AFAFCD242818A52
1 changed files with 1 additions and 1 deletions

View File

@ -168,7 +168,7 @@ class HTTPSignatureAuth(requests.auth.AuthBase):
require_components: List[str] = ("@method", "@authority", "@target-uri"),
signature_algorithm: HTTPSignatureAlgorithm,
key_resolver: HTTPSignatureKeyResolver,
max_age: datetime.timedelta = None):
max_age: datetime.timedelta = datetime.timedelta(hours=36)):
"""
Verify an HTTP message signature.