MCPcopy Create free account
hub / github.com/bitcoin/bitcoin / StringifyHeaders

Method StringifyHeaders

src/httpserver.cpp:357–365  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

355}
356
357std::string HTTPResponse::StringifyHeaders() const
358{
359 return strprintf("HTTP/%d.%d %d %s\r\n%s",
360 m_version.major,
361 m_version.minor,
362 m_status,
363 HTTPStatusReasonString(m_status),
364 m_headers.Stringify());
365}
366
367bool HTTPRequest::LoadControlData(LineReader& reader)
368{

Callers 2

WriteReplyMethod · 0.80
BOOST_AUTO_TEST_CASEFunction · 0.80

Calls 2

HTTPStatusReasonStringFunction · 0.85
StringifyMethod · 0.80

Tested by 1

BOOST_AUTO_TEST_CASEFunction · 0.64