Commit 24bd0c7
committed
Avoid passing empty headers during upgrade
This fixes the proxy for Safari which fails with a cryptic `Invalid UTF-8 sequence in header value ` error when the request contains a header with an empty Value e.g. `Set-Cookie: `1 parent f90542e commit 24bd0c7
1 file changed
Lines changed: 6 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
136 | 136 | | |
137 | 137 | | |
138 | 138 | | |
139 | | - | |
140 | | - | |
141 | | - | |
142 | | - | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
143 | 145 | | |
144 | 146 | | |
145 | 147 | | |
| |||
0 commit comments