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,
},
};
c
// TODO: httpMessageSignaturesImplementationLevelによって新規格で通信をするようにする
const digestHeader = args.digest ?? await genRFC3230DigestHeader(args.body, 'SHA-256');
request.headers['Digest'] = digestHeader;