~ubuntu-branches/ubuntu/utopic/ruby-excon/utopic

« back to all changes in this revision

Viewing changes to tests/rackups/proxy.ru

  • Committer: Package Import Robot
  • Author(s): Praveen Arimbrathodiyil
  • Date: 2014-01-14 18:44:24 UTC
  • mfrom: (1.1.4)
  • Revision ID: package-import@ubuntu.com-20140114184424-3nx5mqudhzjpcrjs
Tags: 0.31.0-1
* Team upload
* New upstream release
* Refresh patches
* Bump standards version to 3.9.5 (no changes)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
require 'sinatra'
 
2
require File.join(File.dirname(__FILE__), 'webrick_patch')
2
3
 
3
4
class App < Sinatra::Base
 
5
  set :environment, :production
 
6
  enable :dump_errors
 
7
 
4
8
  get('*') do
5
9
    headers(
6
10
      "Sent-Request-Uri" => request.env['REQUEST_URI'].to_s,