summaryrefslogtreecommitdiff
path: root/client.c
diff options
context:
space:
mode:
Diffstat (limited to 'client.c')
-rw-r--r--client.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/client.c b/client.c
index 9b8fb07..0d7029b 100644
--- a/client.c
+++ b/client.c
@@ -48,6 +48,8 @@ void uh_http_header(struct client *cl, int code, const char *summary)
const char *enc = "Transfer-Encoding: chunked\r\n";
const char *conn;
+ cl->http_code = code;
+
if (!uh_use_chunked(cl))
enc = "";