class HTTP::Request
def default_host_header_value
-
(String)
- Default host (with port if needed) header value.
def default_host_header_value PORTS[@scheme] != port ? "#{host}:#{port}" : host end
(String)
- Default host (with port if needed) header value.
def default_host_header_value PORTS[@scheme] != port ? "#{host}:#{port}" : host end