Flowdock
method

setup_upstream_proxy_authentication

Importance_0
setup_upstream_proxy_authentication(req, res, header) private

No documentation

This method has no description. You can help the Ruby community by adding new notes.

Hide source
# File lib/webrick/httpproxy.rb, line 245
    def setup_upstream_proxy_authentication(req, res, header)
      if upstream = proxy_uri(req, res)
        if upstream.userinfo
          header['proxy-authorization'] =
            "Basic " + [upstream.userinfo].pack("m").delete("\n")
        end
        return upstream
      end
      return FakeProxyURI
    end
Register or log in to add new notes.