diff options
author | Josh Nichols <[email protected]> | 2023-08-14 11:17:00 -0400 |
---|---|---|
committer | git <[email protected]> | 2023-08-16 01:40:10 +0000 |
commit | 70da92cdf7ac75e071353c4551419ad02c284497 (patch) | |
tree | fdb33770e8b9f07ff84079d8c1af7383f2a56322 /lib/net/http.rb | |
parent | 4d21134f3f1645ae2042d836e750ad267ee1551f (diff) |
[ruby/net-http] Fix on 2.7
https://github.com/ruby/net-http/commit/5194fd541e
Diffstat (limited to 'lib/net/http.rb')
-rw-r--r-- | lib/net/http.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/net/http.rb b/lib/net/http.rb index e65a600525..c05c5baa6c 100644 --- a/lib/net/http.rb +++ b/lib/net/http.rb @@ -1615,7 +1615,7 @@ module Net #:nodoc: write_timeout: @write_timeout, continue_timeout: @continue_timeout, debug_output: @debug_output) - buf = "CONNECT #{conn_address}:#{@port} HTTP/#{HTTPVersion}\r\n" + buf = +"CONNECT #{conn_address}:#{@port} HTTP/#{HTTPVersion}\r\n" buf << "Host: #{@address}:#{@port}\r\n" if proxy_user credential = ["#{proxy_user}:#{proxy_pass}"].pack('m0') |