summaryrefslogtreecommitdiff
path: root/test.c
diff options
context:
space:
mode:
authorPaul Duncan <pabs@pablotron.org>2016-08-28 20:32:55 -0400
committerPaul Duncan <pabs@pablotron.org>2016-08-28 20:32:55 -0400
commit845ddb43da8aa2a8c80a9d9638d63386ddf97d7e (patch)
tree2dc0c914ac0625b8d8289d2b5d09269e6dd4ed65 /test.c
parent566fd0d75c4a46b8a69f67a75ecfb704e985db01 (diff)
downloadlibfhp-845ddb43da8aa2a8c80a9d9638d63386ddf97d7e.tar.bz2
libfhp-845ddb43da8aa2a8c80a9d9638d63386ddf97d7e.zip
add content-length handling and partial chunked transfer-encoding support (still need footers and compression)
Diffstat (limited to 'test.c')
-rw-r--r--test.c6
1 files changed, 3 insertions, 3 deletions
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(