diff --git a/programs/cleos/httpc.cpp b/programs/cleos/httpc.cpp index b0b8acd574e..5503c8fe8ec 100644 --- a/programs/cleos/httpc.cpp +++ b/programs/cleos/httpc.cpp @@ -198,12 +198,12 @@ namespace eosio { namespace client { namespace http { request_stream << "content-length: " << postjson.size() << "\r\n"; request_stream << "Accept: */*\r\n"; request_stream << "Connection: close\r\n"; - request_stream << "\r\n"; // append more customized headers std::vector::iterator itr; for (itr = cp.headers.begin(); itr != cp.headers.end(); itr++) { request_stream << *itr << "\r\n"; } + request_stream << "\r\n"; request_stream << postjson; if ( print_request ) {