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-6.1.0 t/t0116.ru
unicorn-6.0.0 t/t0116.ru
unicorn-5.8.0 t/t0116.ru
unicorn-5.7.0 t/t0116.ru
unicorn-5.6.0 t/t0116.ru
unicorn-5.5.5 t/t0116.ru
unicorn-5.5.4 t/t0116.ru
unicorn-5.5.3 t/t0116.ru
unicorn-5.5.2 t/t0116.ru
unicorn-5.5.1 t/t0116.ru
unicorn-5.5.0.1.g6836 t/t0116.ru
unicorn-5.5.0 t/t0116.ru
unicorn-5.5.0.pre1 t/t0116.ru
unicorn-5.4.1 t/t0116.ru
unicorn-5.4.0 t/t0116.ru
unicorn-5.3.1 t/t0116.ru
unicorn-shopify-5.3.0 t/t0116.ru
unicorn-5.3.0 t/t0116.ru
unicorn-5.3.0.pre1 t/t0116.ru
unicorn-shopify-5.2.0.6 t/t0116.ru