summaryrefslogtreecommitdiff
path: root/test.c
diff options
context:
space:
mode:
authorPaul Duncan <pabs@pablotron.org>2016-08-28 23:23:10 -0400
committerPaul Duncan <pabs@pablotron.org>2016-08-28 23:23:10 -0400
commit0308b0cc9fab95f0f12aa874ae1fcded31d7f573 (patch)
tree47e40528e1439e161b3f855e2bab7c7233b6d94a /test.c
parent845ddb43da8aa2a8c80a9d9638d63386ddf97d7e (diff)
downloadlibfhp-0308b0cc9fab95f0f12aa874ae1fcded31d7f573.tar.bz2
libfhp-0308b0cc9fab95f0f12aa874ae1fcded31d7f573.zip
add content-type parser
Diffstat (limited to 'test.c')
-rw-r--r--test.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/test.c b/test.c
index 7bcb360..280eab0 100644
--- a/test.c
+++ b/test.c
@@ -31,6 +31,7 @@ static const char *
basic_str =
"GET / HTTP/1.1\r\n"
"Host: pablotron.org\r\n"
+ "Content-Type: application/x-www-form-urlencoded\r\n"
"Connection: close\r\n"
"Content-Length: 15\r\n"
"\r\n"