about summary refs log tree commit homepage
path: root/t/bin/content-md5-put
diff options
context:
space:
mode:
Diffstat (limited to 't/bin/content-md5-put')
-rwxr-xr-xt/bin/content-md5-put1
1 files changed, 1 insertions, 0 deletions
diff --git a/t/bin/content-md5-put b/t/bin/content-md5-put
index 01da0bb..01d96dd 100755
--- a/t/bin/content-md5-put
+++ b/t/bin/content-md5-put
@@ -15,6 +15,7 @@ if ARGV.grep("--no-headers").empty?
   $stdout.write(
       "PUT / HTTP/1.1\r\n" \
       "Host: example.com\r\n" \
+      "Connection: #{ENV["Connection"] || 'close'}\r\n" \
       "Transfer-Encoding: chunked\r\n" \
       "Trailer: Content-MD5\r\n" \
       "\r\n"