We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 455a747 commit 5194fd5Copy full SHA for 5194fd5
lib/net/http.rb
@@ -1615,7 +1615,7 @@ def connect
1615
write_timeout: @write_timeout,
1616
continue_timeout: @continue_timeout,
1617
debug_output: @debug_output)
1618
- buf = "CONNECT #{conn_address}:#{@port} HTTP/#{HTTPVersion}\r\n"
+ buf = +"CONNECT #{conn_address}:#{@port} HTTP/#{HTTPVersion}\r\n"
1619
buf << "Host: #{@address}:#{@port}\r\n"
1620
if proxy_user
1621
credential = ["#{proxy_user}:#{proxy_pass}"].pack('m0')
0 commit comments