fix(http): preserve header case when copying headers (#12697)
This commit is contained in:
committed by
vikerman
parent
fe1d0e29c5
commit
121e5080aa
@@ -49,7 +49,7 @@ export class Headers {
|
||||
}
|
||||
|
||||
if (headers instanceof Headers) {
|
||||
headers._headers.forEach((values: string[], name: string) => {
|
||||
headers.forEach((values: string[], name: string) => {
|
||||
values.forEach(value => this.append(name, value));
|
||||
});
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user