hurl

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 23259e9166d683eb9f3f92dfbb7a3fa71c63b65f
parent b0ae028e1af0a7f6e3e828390109462cbd2ea6bb
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date:   Mon, 12 Nov 2018 19:45:57 +0100

on HTTP error also print "\r\n\r\n"

Diffstat:
Mbget.c | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/bget.c b/bget.c @@ -252,6 +252,7 @@ https_request(void) } else { /* if not 200 OK print header */ fputs(buf, stderr); + fputs("\r\n\r\n", stderr); /* TODO: exit or continue reading, probably nicer to continue read */ } @@ -352,6 +353,7 @@ http_request(void) } else { /* if not 200 OK print header */ fputs(buf, stderr); + fputs("\r\n\r\n", stderr); /* TODO: exit or continue reading, probably nicer to continue read */ }