Skip to content

Commit 5194fd5

Browse files
Fix on 2.7
1 parent 455a747 commit 5194fd5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/net/http.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1615,7 +1615,7 @@ def connect
16151615
write_timeout: @write_timeout,
16161616
continue_timeout: @continue_timeout,
16171617
debug_output: @debug_output)
1618-
buf = "CONNECT #{conn_address}:#{@port} HTTP/#{HTTPVersion}\r\n"
1618+
buf = +"CONNECT #{conn_address}:#{@port} HTTP/#{HTTPVersion}\r\n"
16191619
buf << "Host: #{@address}:#{@port}\r\n"
16201620
if proxy_user
16211621
credential = ["#{proxy_user}:#{proxy_pass}"].pack('m0')

0 commit comments

Comments
 (0)