1
0
forked from mirror/misskey
This commit is contained in:
tamaina 2024-03-04 03:12:17 +00:00
parent 79249a0514
commit 7a334a5e28

View File

@ -40,7 +40,7 @@ export async function createSignedPost(args: { level: string; key: PrivateKey; u
...args.additionalHeaders, ...args.additionalHeaders,
}, },
}; };
c
// TODO: httpMessageSignaturesImplementationLevelによって新規格で通信をするようにする // TODO: httpMessageSignaturesImplementationLevelによって新規格で通信をするようにする
const digestHeader = args.digest ?? await genRFC3230DigestHeader(args.body, 'SHA-256'); const digestHeader = args.digest ?? await genRFC3230DigestHeader(args.body, 'SHA-256');
request.headers['Digest'] = digestHeader; request.headers['Digest'] = digestHeader;