Fix on the m_buf generation: avoid padding before request body

This commit is contained in:
Felipe Zimmerle
2017-09-07 22:20:09 -03:00
parent a269ef6e0c
commit 8a21f039be

View File

@@ -1523,7 +1523,6 @@ std::string Transaction::toBuf() {
a.append("\n"); a.append("\n");
} }
a.append("\n\n");
if (this->m_requestBody.str().length() > 0) { if (this->m_requestBody.str().length() > 0) {
a.append(this->m_requestBody.str().c_str()); a.append(this->m_requestBody.str().c_str());
a.append("\n\n"); a.append("\n\n");