diff options
author | Paul Duncan <pabs@pablotron.org> | 2016-08-28 20:32:55 -0400 |
---|---|---|
committer | Paul Duncan <pabs@pablotron.org> | 2016-08-28 20:32:55 -0400 |
commit | 845ddb43da8aa2a8c80a9d9638d63386ddf97d7e (patch) | |
tree | 2dc0c914ac0625b8d8289d2b5d09269e6dd4ed65 /test.c | |
parent | 566fd0d75c4a46b8a69f67a75ecfb704e985db01 (diff) | |
download | libfhp-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.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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( |