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
No known key found for this signature in database
GPG Key ID: E6DFB08CE8B11277

View File

@ -1523,7 +1523,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");