MCPcopy Create free account
hub / github.com/Pagghiu/SaneCppLibraries / scHttpToLowerAscii

Function scHttpToLowerAscii

Libraries/Http/HttpParser.cpp:15–18  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

13 "Tracked header table must match HttpParser::HeaderType");
14
15static char scHttpToLowerAscii(char value)
16{
17 return value >= 'A' and value <= 'Z' ? static_cast<char>(value + ('a' - 'A')) : value;
18}
19
20static bool scHttpEqualsIgnoreCaseAscii(const char* lhs, const char* rhs, SC::size_t length)
21{

Callers 2

parseHeaderNameMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected