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

Method appendPreparedHeader

Libraries/HttpClient/HttpClientSession.cpp:633–640  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

631 statusCode == 503 or statusCode == 504;
632}
633
634static bool canReplayRequestBody(const SC::HttpClientRequestBody& body)
635{
636 return not body.isStreamed() or body.canReplay;
637}
638
639static char basicAuthorizationSourceByte(SC::Span<const char> username, SC::Span<const char> password, size_t index)
640{
641 if (index < username.sizeInBytes())
642 {
643 return username[index];

Callers

nothing calls this directly

Calls 1

ResultClass · 0.50

Tested by

no test coverage detected