We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aabd783 commit 4a9b011Copy full SHA for 4a9b011
src/bidiMapper/modules/network/NetworkRequest.ts
@@ -339,14 +339,14 @@ export class NetworkRequest {
339
if (this.#requestOverrides?.headers) {
340
const headerMap = new DefaultMap<string, string[]>(() => []);
341
for (const header of this.#requestOverrides.headers) {
342
- headerMap.get(header.name).push(header.value.value.trim());
+ headerMap.get(header.name).push(header.value.value);
343
}
344
- for (const [name, values] of headerMap.entries()) {
+ for (const [name, value] of headerMap.entries()) {
345
headers.push({
346
name,
347
value: {
348
type: 'string',
349
- value: values.join(', ').trimEnd(),
+ value: value.join('\n').trimEnd(),
350
},
351
});
352
0 commit comments