# File lib/action_controller/request.rb, line 285
    def host
      raw_host_with_port.sub(/:\d+$/, '')
    end