rsnext/test/production/ipc-forbidden-headers
Zack Tanner 23f623546e
add "expect" to list of forbidden IPC headers (#53947)
`expect` is an unsupported header for undici: c83b084879/lib/core/request.js (L354) -- this filters it out so that the API routes don't throw an internal server error if that header is included. 

Also added a test case for the previously submitted PR that was added for `content-length: 0`

- x-ref: #53843

Fixes #53822 (erroneously closed by a content-length issue being fixed)
2023-08-12 19:38:38 +00:00
..
app/api/app-api add "expect" to list of forbidden IPC headers (#53947) 2023-08-12 19:38:38 +00:00
pages/api add "expect" to list of forbidden IPC headers (#53947) 2023-08-12 19:38:38 +00:00
ipc-forbidden-headers.test.ts add "expect" to list of forbidden IPC headers (#53947) 2023-08-12 19:38:38 +00:00