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

Function skipAuthSpaces

Libraries/HttpClient/HttpClientSession.cpp:51–58  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

49}
50
51static bool isValidCookieName(SC::StringSpan name)
52{
53 const SC::Span<const char> bytes = name.toCharSpan();
54 if (bytes.empty())
55 {
56 return false;
57 }
58 for (size_t idx = 0; idx < bytes.sizeInBytes(); ++idx)
59 {
60 if (not isHttpTokenCharacter(bytes[idx]))
61 {

Callers 3

findAuthChallengeEndFunction · 0.85
parseAuthRealmFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected