stream/internal: convert headers to iterable object
This commit is contained in:
parent
92f3d2366c
commit
eb65e816af
1 changed files with 1 additions and 1 deletions
|
@ -85,7 +85,7 @@ async function handleGenericStream(streamInfo, res) {
|
|||
try {
|
||||
const req = await request(streamInfo.url, {
|
||||
headers: {
|
||||
...streamInfo.headers,
|
||||
...Object.fromEntries(streamInfo.headers),
|
||||
host: undefined
|
||||
},
|
||||
dispatcher: streamInfo.dispatcher,
|
||||
|
|
Loading…
Reference in a new issue