(req: OriginValidationRequest)
| 283 | } |
| 284 | |
| 285 | function getClientFacingProtocol(req: OriginValidationRequest): "http" | "https" { |
| 286 | return getFirstForwardedProtocol(req) ?? inferProtocol(req); |
| 287 | } |
| 288 | |
| 289 | function getExpectedProtocols( |
| 290 | req: OriginValidationRequest, |
no test coverage detected