Fix on the m_buf generation: avoid padding before request body

This commit is contained in:
Felipe Zimmerle 2018-07-20 13:59:09 -03:00
parent 6f24abea6d
commit 138619b869

View File

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