method

set_via

ruby latest stable - Class: WEBrick::HTTPProxyServer

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v1_9_3_392) is shown here.

set_via(h)
private

No documentation available.

# File lib/webrick/httpproxy.rb, line 244
    def set_via(h)
      if @config[:ProxyVia]
        if  h['via']
          h['via'] << ", " << @via
        else
          h['via'] = @via
        end
      end
    end