forked from mirror/misskey
fix
This commit is contained in:
parent
79249a0514
commit
7a334a5e28
@ -40,7 +40,7 @@ export async function createSignedPost(args: { level: string; key: PrivateKey; u
|
||||
...args.additionalHeaders,
|
||||
},
|
||||
};
|
||||
c
|
||||
|
||||
// TODO: httpMessageSignaturesImplementationLevelによって新規格で通信をするようにする
|
||||
const digestHeader = args.digest ?? await genRFC3230DigestHeader(args.body, 'SHA-256');
|
||||
request.headers['Digest'] = digestHeader;
|
||||
|
Loading…
Reference in New Issue
Block a user