if (status != 0)
fprintf(stdout, "Status: %u\n", status);
if (content_type!=NULL)
- fprintf(stdout, "Content-type: %s", content_type);
+ fprintf(stdout, "Content-type: %s\n", content_type);
fprintf(stdout, "Content-Length: %" PRId64 "\n\n", size);
while (size>0)
if (status != 0)
fprintf(stdout, "Status: %u\n", status);
if (content_type!=NULL)
- fprintf(stdout, "Content-type: %s", content_type);
+ fprintf(stdout, "Content-type: %s\n", content_type);
fprintf(stdout, "Content-Length: %" PRId64 "\n\n", (uint64_t)size);
off = 0;