class HTTPX::Plugins::Proxy::HTTP::ProxyParser

  1. lib/httpx/plugins/proxy/http.rb
Superclass: HTTP1

Methods

Public Instance

  1. headline_uri
  2. set_request_headers

Public Instance methods

headline_uri (request)
[show source]
   # File lib/httpx/plugins/proxy/http.rb
75 def headline_uri(request)
76   request.uri.to_s
77 end
set_request_headers (request)
[show source]
   # File lib/httpx/plugins/proxy/http.rb
79 def set_request_headers(request)
80   super
81   request.headers["proxy-connection"] = request.headers["connection"]
82   request.headers.delete("connection")
83 end