| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 6529ae9 commit 1b25008
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -330,7 +330,9 @@ ServerResponse.prototype.writeEarlyHints = function writeEarlyHints(hints, cb) { | |||
| 330 | 330 | ||
| 331 | 331 | head += 'Link: ' + link + '\r\n'; | |
| 332 | 332 | ||
| 333 | - for (const key of ObjectKeys(hints)) { | ||
| 333 | + const keys = ObjectKeys(hints); | ||
| 334 | + for (let i = 0; i < keys.length; i++) { | ||
| 335 | + const key = keys[i]; | ||
| 334 | 336 | if (key !== 'link') { | |
| 335 | 337 | head += key + ': ' + hints[key] + '\r\n'; | |
| 336 | 338 | } | |
| Back | FazBrowse Home | New Git URL |
0 commit comments