Fix doc formatting
parent
28e6043426
commit
65d0d98659
|
@ -88,6 +88,7 @@ constructor as bytes in the PEM format, or configure the key resolver as follows
|
||||||
Digest algorithms
|
Digest algorithms
|
||||||
~~~~~~~~~~~~~~~~~
|
~~~~~~~~~~~~~~~~~
|
||||||
The library supports SHA-512 digests via subclassing::
|
The library supports SHA-512 digests via subclassing::
|
||||||
|
|
||||||
class MySigner(HTTPSignatureAuth):
|
class MySigner(HTTPSignatureAuth):
|
||||||
def add_digest(self, request):
|
def add_digest(self, request):
|
||||||
super().add_digest(request, algorithm="sha-512")
|
super().add_digest(request, algorithm="sha-512")
|
||||||
|
|
Loading…
Reference in New Issue