| 58 | } |
| 59 | |
| 60 | static size_t readAuthToken(SC::Span<const char> bytes, size_t offset, size_t end) |
| 61 | { |
| 62 | while (offset < end and isHttpTokenCharacter(bytes[offset])) |
| 63 | { |
| 64 | offset += 1; |
| 65 | } |
| 66 | return offset; |
| 67 | } |
| 68 | |
| 69 | static bool asciiStartsWith(SC::StringSpan text, SC::StringSpan prefix) |
| 70 | { |
no test coverage detected