This commit is contained in:
parent
3f9e159eb1
commit
1e642fcf07
1 changed files with 3 additions and 1 deletions
|
@ -13,6 +13,9 @@ from httpx import Headers
|
||||||
|
|
||||||
@dataclass
|
@dataclass
|
||||||
class SignedData:
|
class SignedData:
|
||||||
|
"""
|
||||||
|
Signature data
|
||||||
|
"""
|
||||||
method: str
|
method: str
|
||||||
path: str
|
path: str
|
||||||
signed_list: list
|
signed_list: list
|
||||||
|
@ -100,4 +103,3 @@ class HttpSignature:
|
||||||
+ signed_data.headers[signed_str])
|
+ signed_data.headers[signed_str])
|
||||||
|
|
||||||
return "\n".join(signed_string)
|
return "\n".join(signed_string)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue