MCPcopy Create free account
hub / github.com/azadkuh/qhttp / makeTitle

Method makeTitle

src/qhttpserverresponse.cpp:62–71  ·  view source on GitHub ↗

//////////////////////////////////////////////////////////////////////////

Source from the content-addressed store, hash-verified

60
61///////////////////////////////////////////////////////////////////////////////
62QByteArray
63QHttpResponsePrivate::makeTitle() {
64
65 QString title = QString("HTTP/%1 %2 %3\r\n")
66 .arg(iversion)
67 .arg(istatus)
68 .arg(Stringify::toString(istatus));
69
70 return title.toLatin1();
71}
72
73void
74QHttpResponsePrivate::prepareHeadersToWrite() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected