Sha256: 7aab303214a54b72e340f5c83a7cedf92a15341e858fb8c19acb5e44e4156a0c

Contents?: true

Size: 348 Bytes

Versions: 110

Compression:

Stored size: 348 Bytes

Contents

#\ -E none
use Rack::ContentLength
use Rack::ContentType, 'text/plain'
app = lambda do |env|
  input = env['rack.input']
  case env["PATH_INFO"]
  when "/tmp_class"
    body = input.instance_variable_get(:@tmp).class.name
  when "/input_class"
    body = input.class.name
  else
    return [ 500, {}, [] ]
  end
  [ 200, {}, [ body ] ]
end
run app

Version data entries

110 entries across 110 versions & 11 rubygems

Version Path
boourns-unicorn-4.4.3 t/t0116.ru
boourns-unicorn-4.4.2 t/t0116.ru
boourns-unicorn-4.4.1 t/t0116.ru
preplay_unicorn-4.3.1.5.ga7df t/t0116.ru
unicorn-4.4.0 t/t0116.ru
preplay_unicorn-4.3.1.2.gc450 t/t0116.ru
unicorn-lb-patch-4.3.1.13.gb7d9 t/t0116.ru
unicorn-lb-patch-4.3.1.11.g21b8.dirty t/t0116.ru
unicorn-heroku-4.3.1.1.gc608.dirty t/t0116.ru
unicorn-4.3.1 t/t0116.ru
unicorn-4.3.0.2.g4551 t/t0116.ru
unicorn-4.3.0 t/t0116.ru
unicorn-4.2.1 t/t0116.ru
unicorn-4.2.0 t/t0116.ru
unicorn-4.1.1 t/t0116.ru
unicorn-4.1.0 t/t0116.ru
unicorn-4.0.1.4.g406b t/t0116.ru
unicorn-4.0.1 t/t0116.ru
unicorn-4.0.0.2.g19f7 t/t0116.ru
unicorn-4.0.0 t/t0116.ru