| 101 | } |
| 102 | |
| 103 | void HttpRequest::AppendStartLineToString(std::string* result) const { |
| 104 | CHECK_NE(m_method, METHOD_UNKNOWN); |
| 105 | StringAppend(result, GetMethodName(m_method), " ", m_uri); |
| 106 | HttpVersion version = Version(); |
| 107 | if (!version.IsEmpty()) { |
| 108 | StringAppend(result, " ", "HTTP/", version.Major(), ".", version.Minor()); |
| 109 | } |
| 110 | } |
| 111 | |
| 112 | } // namespace toft |
| 113 |
nothing calls this directly
no test coverage detected