Skip to content

Commit

Permalink
Make sure it can handle spaces in content-length
Browse files Browse the repository at this point in the history
  • Loading branch information
ry committed Nov 11, 2010
1 parent 37e9009 commit 04bc364
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test.c
Expand Up @@ -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"
"<HTML><HEAD><meta http-equiv=\"content-type\" content=\"text/html;charset=utf-8\">\n"
"<TITLE>301 Moved</TITLE></HEAD><BODY>\n"
Expand All @@ -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= "<HTML><HEAD><meta http-equiv=\"content-type\" content=\"text/html;charset=utf-8\">\n"
"<TITLE>301 Moved</TITLE></HEAD><BODY>\n"
Expand Down

0 comments on commit 04bc364

Please sign in to comment.