adds extra newline between headers and body

This commit is contained in:
Joe Bryan 2018-04-10 10:47:29 -07:00
parent b745cb83bc
commit 05339a771e

View File

@ -652,7 +652,7 @@ _cttp_creq_fire(u3_creq* ceq_u)
}
else {
c3_c len_c[41];
c3_w len_w = snprintf(len_c, 40, "Content-Length: %u\r\n",
c3_w len_w = snprintf(len_c, 40, "Content-Length: %u\r\n\r\n",
ceq_u->bod_u->len_w);
_cttp_creq_fire_body(ceq_u, _cttp_bod_new(len_w, len_c));