delete request.headers['host'];
This commit is contained in:
parent
fe77f216c3
commit
b7349e5771
|
@ -40,6 +40,8 @@ export async function createSignedPost(args: { level: string; key: PrivateKey; u
|
|||
['(request-target)', 'date', 'host', 'digest'],
|
||||
);
|
||||
|
||||
delete request.headers['host'];
|
||||
|
||||
return {
|
||||
request,
|
||||
...result,
|
||||
|
@ -66,6 +68,8 @@ export async function createSignedGet(args: { level: string; key: PrivateKey; ur
|
|||
['(request-target)', 'date', 'host', 'accept'],
|
||||
);
|
||||
|
||||
delete request.headers['host'];
|
||||
|
||||
return {
|
||||
request,
|
||||
...result,
|
||||
|
|
Loading…
Reference in New Issue