From 04bc364610469954711349c7c6e67881a5487868 Mon Sep 17 00:00:00 2001 From: Ryan Dahl Date: Wed, 10 Nov 2010 21:47:29 -0800 Subject: [PATCH] Make sure it can handle spaces in content-length --- test.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test.c b/test.c index 91a26ce..718281f 100644 --- a/test.c +++ b/test.c @@ -553,7 +553,7 @@ const struct message responses[] = "Expires: Tue, 26 May 2009 11:11:49 GMT\r\n" "Cache-Control: public, max-age=2592000\r\n" "Server: gws\r\n" - "Content-Length: 219\r\n" + "Content-Length: 219 \r\n" "\r\n" "\n" "301 Moved\n" @@ -574,7 +574,7 @@ const struct message responses[] = , { "Expires", "Tue, 26 May 2009 11:11:49 GMT" } , { "Cache-Control", "public, max-age=2592000" } , { "Server", "gws" } - , { "Content-Length", "219" } + , { "Content-Length", "219 " } } ,.body= "\n" "301 Moved\n"