# File lib/action_controller/request.rb, line 142
    def protocol
      env["HTTPS"] == "on" ? 'https://' : 'http://'
    end