diff options
Diffstat (limited to 'test/test_expect_100.rb')
-rw-r--r-- | test/test_expect_100.rb | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/test/test_expect_100.rb b/test/test_expect_100.rb index 1701bca..f34c29e 100644 --- a/test/test_expect_100.rb +++ b/test/test_expect_100.rb @@ -1,5 +1,6 @@ # Copyright (C) 2013-2015 all contributors <yahns-public@yhbt.net> # License: GPLv3 or later (https://www.gnu.org/licenses/gpl-3.0.txt) +# frozen_string_literal: true require_relative 'server_helper' class TestExpect100 < Testcase @@ -161,8 +162,8 @@ class TestExpect100 < Testcase end c = get_tcp_client(host, port) if body.size > 0 - r = "PUT / HTTP/1.0\r\nExpect: 100-continue\r\n" - r << "Content-Length: #{body.size}\r\n\r\n#{body}" + r = "PUT / HTTP/1.0\r\nExpect: 100-continue\r\n" \ + "Content-Length: #{body.size}\r\n\r\n#{body}" else r = "PUT / HTTP/1.0\r\nExpect: 100-continue\r\n\r\n" end |