()
| 13496 | const mayBeNormalized = normalizedMethodRecords[method]; |
| 13497 | if (mayBeNormalized !== void 0) { |
| 13498 | request.method = mayBeNormalized; |
| 13499 | } else { |
| 13500 | if (!isValidHTTPToken(method)) { |
| 13501 | throw new TypeError(`'${method}' is not a valid HTTP method.`); |
| 13502 | } |
| 13503 | const upperCase = method.toUpperCase(); |
| 13504 | if (forbiddenMethodsSet.has(upperCase)) { |
nothing calls this directly
no outgoing calls
no test coverage detected