(byte: u8)
| 342 | } |
| 343 | |
| 344 | fn decode_hex_nibble(byte: u8) -> Option<u8> { |
| 345 | match byte { |
| 346 | b'0'..=b'9' => Some(byte - b'0'), |
| 347 | b'a'..=b'f' => Some(byte - b'a' + 10), |
| 348 | b'A'..=b'F' => Some(byte - b'A' + 10), |
| 349 | _ => None, |
| 350 | } |
| 351 | } |
| 352 | |
| 353 | /// Forward an allowed HTTP request to upstream and relay the response back. |
| 354 | /// |
no outgoing calls
no test coverage detected