# File lib/protocols/httpcli2.rb, line 237 237: def set_default_host_header host, port, ssl 238: if (ssl and port != 443) or (!ssl and port != 80) 239: @host_header = "#{host}:#{port}" 240: else 241: @host_header = host 242: end 243: end