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
unicorn-5.0.1 t/t0116.ru
unicorn-5.0.0 t/t0116.ru
unicorn-5.0.0.pre2 t/t0116.ru
unicorn-5.0.0.pre1 t/t0116.ru
unicorn-camilo-5.0.0 t/t0116.ru
unicorn-4.9.0 t/t0116.ru
unicorn-camilo-4.8.2.5.19 t/t0116.ru
unicorn-camilo-4.8.2.5.18 t/t0116.ru
unicorn-camilo-4.8.2.5.17 t/t0116.ru
unicorn-camilo-4.8.2.5.16 t/t0116.ru
unicorn-camilo-4.8.2.5.15 t/t0116.ru
unicorn-camilo-4.8.2.5.14 t/t0116.ru
unicorn-camilo-4.8.2.5.13 t/t0116.ru
unicorn-4.8.3 t/t0116.ru
unicorn-camilo-4.8.2.5.12 t/t0116.ru
unicorn-camilo-4.8.2.5.11 t/t0116.ru
unicorn-camilo-4.8.2.5.10 t/t0116.ru
unicorn-camilo-4.8.2.5.g0b28.dirty t/t0116.ru
unicorn-4.8.2 t/t0116.ru
unicorn-4.8.1.1.g9b565 t/t0116.ru