From 845ddb43da8aa2a8c80a9d9638d63386ddf97d7e Mon Sep 17 00:00:00 2001 From: Paul Duncan Date: Sun, 28 Aug 2016 20:32:55 -0400 Subject: add content-length handling and partial chunked transfer-encoding support (still need footers and compression) --- test.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'test.c') diff --git a/test.c b/test.c index a2ccb0a..7bcb360 100644 --- a/test.c +++ b/test.c @@ -32,9 +32,9 @@ basic_str = "GET / HTTP/1.1\r\n" "Host: pablotron.org\r\n" "Connection: close\r\n" - "Content-Length: 123456\r\n" - "Transfer-Encoding: deflate, chunked\r\n" - "\r\n"; + "Content-Length: 15\r\n" + "\r\n" + "hello test test"; static bool basic_cb( -- cgit v1.2.3