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