fix(http): preserve header case when copying headers (#12697)

This commit is contained in:
Alex Rickabaugh
2016-11-04 13:26:38 -07:00
committed by vikerman
parent fe1d0e29c5
commit 121e5080aa
3 changed files with 15 additions and 7 deletions

View File

@ -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;