| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent ed8df17 commit 675a4b2
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,6 +1,9 @@ | |||
| 1 | 1 | 'use strict'; | |
| 2 | - | ||
| 3 | 2 | const common = require('../common'); | |
| 3 | + | ||
| 4 | + // This test ensures that the http-parser can handle UTF-8 characters | ||
| 5 | + // in the http header. | ||
| 6 | + | ||
| 4 | 7 | const http = require('http'); | |
| 5 | 8 | const assert = require('assert'); | |
| 6 | 9 | ||
@@ -12,7 +15,7 @@ server.listen(0, () => { | |||
| 12 | 15 | port: server.address().port, | |
| 13 | 16 | headers: {'Test': 'Düsseldorf'} | |
| 14 | 17 | }, common.mustCall((res) => { | |
| 15 | - assert.equal(res.statusCode, 200); | ||
| 18 | + assert.strictEqual(res.statusCode, 200); | ||
| 16 | 19 | server.close(); | |
| 17 | 20 | })); | |
| 18 | 21 | }); | |
| Back | FazBrowse Home | New Git URL |
0 commit comments