Sha256: 8737bce3ea503886a5704435da0250aa4aa8bdbc15b50cf388630ff503647958

Contents?: true

Size: 164 Bytes

Versions: 8

Compression:

Stored size: 164 Bytes

Contents

require 'sinatra'

class App < Sinatra::Base
  get('/content-length/:value') do |value|
    headers("Custom" => "Foo: bar")
    'x' * value.to_i
  end
end

run App

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
excon-0.7.1 tests/rackups/basic.ru
excon-0.7.0 tests/rackups/basic.ru
excon-0.6.6 tests/rackups/basic.ru
excon-0.6.5 tests/rackups/basic.ru
excon-0.6.4 tests/rackups/basic.ru
excon-0.6.3 tests/rackups/basic.ru
excon-0.6.2 tests/rackups/basic.ru
excon-0.6.1 tests/rackups/basic.ru