about summary refs log tree commit homepage
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2009-08-09 02:54:31 -0700
committerEric Wong <normalperson@yhbt.net>2009-08-09 02:54:31 -0700
commit5b9d3e4a5ea5b5832f2b91fb9d6288c59b65a199 (patch)
treea0bc164cfb28a1b593d30227b5a88866e2cbf612
parent88ae75988aaeb198f9633d36c424b07296389027 (diff)
downloadunicorn-5b9d3e4a5ea5b5832f2b91fb9d6288c59b65a199.tar.gz
Our current TrailerParser is liberal and does not require it,
but the to-be-activated Ragel one is not.
-rw-r--r--test/unit/test_upload.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/unit/test_upload.rb b/test/unit/test_upload.rb
index dad5825..a34b52b 100644
--- a/test/unit/test_upload.rb
+++ b/test/unit/test_upload.rb
@@ -87,7 +87,7 @@ class UploadTest < Test::Unit::TestCase
     sock.syswrite("0\r\n")
 
     content_md5 = [ md5.digest! ].pack('m').strip.freeze
-    sock.syswrite("Content-MD5: #{content_md5}\r\n")
+    sock.syswrite("Content-MD5: #{content_md5}\r\n\r\n")
     read = sock.read.split(/\r\n/)
     assert_equal "HTTP/1.1 200 OK", read[0]
     resp = eval(read.grep(/^X-Resp: /).first.sub!(/X-Resp: /, ''))