(newOrigin)
| 3414 | ] |
| 3415 | ); |
| 3416 | var requestBodyHeader = ( |
| 3417 | /** @type {const} */ |
| 3418 | [ |
| 3419 | "content-encoding", |
| 3420 | "content-language", |
| 3421 | "content-location", |
| 3422 | "content-type", |
| 3423 | // See https://github.com/nodejs/undici/issues/2021 |
| 3424 | // 'Content-Length' is a forbidden header name, which is typically |
| 3425 | // removed in the Headers implementation. However, undici doesn't |
| 3426 | // filter out headers, so we add it here. |
| 3427 | "content-length" |
| 3428 | ] |
| 3429 | ); |
| 3430 | var requestDuplex = ( |
| 3431 | /** @type {const} */ |
| 3432 | [ |
| 3433 | "half" |
| 3434 | ] |
| 3435 | ); |
| 3436 | var forbiddenMethods = ( |
| 3437 | /** @type {const} */ |
| 3438 | ["CONNECT", "TRACE", "TRACK"] |
| 3439 | ); |
nothing calls this directly
no outgoing calls
no test coverage detected