Fixing tests

This commit is contained in:
Denis Makogon
2017-09-22 01:23:14 +03:00
parent c39bf31425
commit edd0c8453c
2 changed files with 2 additions and 4 deletions

View File

@@ -150,9 +150,7 @@ func (r *Route) Update(new *Route) {
if len(v) == 0 {
r.Headers.Del(k)
} else {
for _, val := range v {
r.Headers.Set(k, val)
}
r.Headers[k] = v
}
}
}