diff options
author | Anthony Wang | 2023-01-19 19:33:20 +0000 |
---|---|---|
committer | Anthony Wang | 2023-01-19 19:33:20 +0000 |
commit | 7cbb9f7e496b09b2fc88ddd42faa9cfa7fa4c8ee (patch) | |
tree | 1ea94c104cad077c48a7cdfc6c30b4a68cd51c17 /client.py | |
parent | 76d293317c97a81cbfe056b835e04b05c0d54852 (diff) |
Some minor code cleanup for client.py
Diffstat (limited to 'client.py')
-rw-r--r-- | client.py | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -21,9 +21,7 @@ signature = b64encode(privkey.sign(message, padding.PKCS1v15(), hashes.SHA256()) header = f'keyId="https://0.exozy.me/users/test.jsonld#main-key",headers="date digest",signature="{signature}"' resp = post('https://0.exozy.me/users/test.outbox', headers={ - 'Date': date, - 'Digest': f'SHA-256={digest}', - 'Signature': header, + 'Date': date, 'Digest': f'SHA-256={digest}', 'Signature': header }, data=activity) print(resp) print(resp.text) |