Sha256: ce195fb966dc403aa4b50f74893b9257f509792a0458557d78321d36e1e9dd9a

Contents?: true

Size: 307 Bytes

Versions: 50

Compression:

Stored size: 307 Bytes

Contents

require 'sinatra'

class App < Sinatra::Base
  get('*') do
    headers(
      "Sent-Request-Uri" => request.env['REQUEST_URI'].to_s,
      "Sent-Host" => request.env['HTTP_HOST'].to_s,
      "Sent-Proxy-Connection" => request.env['HTTP_PROXY_CONNECTION'].to_s
    )
    'proxied content'
  end
end

run App

Version data entries

50 entries across 50 versions & 2 rubygems

Version Path
excon-0.30.0 tests/rackups/proxy.ru
excon-0.29.0 tests/rackups/proxy.ru
excon-0.28.0 tests/rackups/proxy.ru
excon-0.27.6 tests/rackups/proxy.ru
excon-0.27.5 tests/rackups/proxy.ru
excon-0.27.4 tests/rackups/proxy.ru
excon-0.27.3 tests/rackups/proxy.ru
excon-0.27.2 tests/rackups/proxy.ru
excon-0.27.1 tests/rackups/proxy.ru
excon-0.27.0 tests/rackups/proxy.ru
excon-0.26.0 tests/rackups/proxy.ru
excon-0.25.3 tests/rackups/proxy.ru
excon-0.25.2 tests/rackups/proxy.ru
excon-0.25.1 tests/rackups/proxy.ru
excon-0.25.0 tests/rackups/proxy.ru
excon-0.24.0 tests/rackups/proxy.ru
excon-0.23.0 tests/rackups/proxy.ru
excon-0.22.1 tests/rackups/proxy.ru
excon-0.22.0 tests/rackups/proxy.ru
vagrant-shell-0.2.6 vendor/bundle/gems/excon-0.20.1/tests/rackups/proxy.ru