MCPcopy Create free account
hub / github.com/comaps/comaps / DebugPrint

Function DebugPrint

libs/platform/http_client.cpp:194–203  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

192}
193
194string DebugPrint(HttpClient const & request)
195{
196 std::ostringstream ostr;
197 ostr << "HTTP " << request.ErrorCode() << " url [" << request.UrlRequested() << "]";
198 if (request.WasRedirected())
199 ostr << " was redirected to [" << request.UrlReceived() << "]";
200 if (!request.ServerResponse().empty())
201 ostr << " response: " << request.ServerResponse();
202 return ostr.str();
203}
204} // namespace platform

Callers

nothing calls this directly

Calls 3

ErrorCodeMethod · 0.80
WasRedirectedMethod · 0.80
emptyMethod · 0.45

Tested by

no test coverage detected