# File lib/rack/request.rb, line 222 222: def url 223: url = scheme + "://" 224: url << host 225: 226: if scheme == "https" && port != 443 || 227: scheme == "http" && port != 80 228: url << ":#{port}" 229: end 230: 231: url << fullpath 232: 233: url 234: end