fix: keep raw header name #13575
Annotations
4 errors and 5 notices
Run tests:
test/fetch/headers-case.js#L31
[Error [ERR_TEST_FAILURE]: Cannot read properties of undefined (reading 'toLowerCase')] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: TypeError [Error]: Cannot read properties of undefined (reading 'toLowerCase')
at fetch (/Users/runner/work/undici/undici/index.js:111:13)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async TestContext.<anonymous> (/Users/runner/work/undici/undici/test/fetch/headers-case.js:31:3)
at async Test.run (node:internal/test_runner/test:640:9)
at async startSubtest (node:internal/test_runner/harness:218:3)
}
|
Run tests:
test/fetch/headers-case.js#L1
[Error [ERR_TEST_FAILURE]: test timed out after 30000ms] { code: 'ERR_TEST_FAILURE', failureType: 'testTimeoutFailure', cause: 'test timed out after 30000ms' }
|
Run tests:
test/fetch/bundle.js#L30
[Error [ERR_TEST_FAILURE]: Cannot read properties of undefined (reading 'toLowerCase')] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: TypeError [Error]: Cannot read properties of undefined (reading 'toLowerCase')
at _HeadersList.append (/Users/runner/work/undici/undici/undici-fetch.js:8342:57)
at new Request (/Users/runner/work/undici/undici/undici-fetch.js:9404:27)
at TestContext.<anonymous> (/Users/runner/work/undici/undici/test/fetch/bundle.js:30:20)
at Test.runInAsyncScope (node:async_hooks:206:9)
at Test.run (node:internal/test_runner/test:639:25)
at Test.processPendingSubtests (node:internal/test_runner/test:382:18)
at Test.postRun (node:internal/test_runner/test:730:19)
at Test.run (node:internal/test_runner/test:688:12)
at async startSubtest (node:internal/test_runner/harness:218:3)
}
|
Run tests
Process completed with exit code 1.
|
Run tests
Total Tests: 953
Suites 📂: 76
Passed ✅: 949
Failed ❌: 0
Canceled 🚫: 0
Skipped ⏭️: 4
Todo 📝: 0
Duration 🕐: 32985.057ms
|
Run tests
Total Tests: 189
Suites 📂: 6
Passed ✅: 176
Failed ❌: 0
Canceled 🚫: 0
Skipped ⏭️: 13
Todo 📝: 0
Duration 🕐: 2791.972ms
|
Run tests
Total Tests: 3
Suites 📂: 0
Passed ✅: 3
Failed ❌: 0
Canceled 🚫: 0
Skipped ⏭️: 0
Todo 📝: 0
Duration 🕐: 113.382ms
|
Run tests
Total Tests: 73
Suites 📂: 0
Passed ✅: 73
Failed ❌: 0
Canceled 🚫: 0
Skipped ⏭️: 0
Todo 📝: 0
Duration 🕐: 6235.403ms
|
Run tests
Total Tests: 363
Suites 📂: 12
Passed ✅: 360
Failed ❌: 2
Canceled 🚫: 1
Skipped ⏭️: 0
Todo 📝: 0
Duration 🕐: 37810.510ms
|
Loading