Sha256: 5715c236a0435324c613d0abb4e0b1b010ccb45c60e7eb1679fca5711b5cb2ea

Contents?: true

Size: 289 Bytes

Versions: 34

Compression:

Stored size: 289 Bytes

Contents

# must be run without Rack::Lint since that clobbers to_path
use Rainbows::DevFdResponse
run(lambda { |env|
  [ 200,
    {
      'Content-Length' => ::File.stat('random_blob').size.to_s,
      'Content-Type' => 'application/octet-stream',
    },
    IO.popen('cat random_blob', 'rb') ]
})

Version data entries

34 entries across 34 versions & 1 rubygems

Version Path
rainbows-4.1.0 t/fast-pipe-response.ru
rainbows-4.0.0 t/fast-pipe-response.ru
rainbows-3.4.0 t/fast-pipe-response.ru
rainbows-3.3.0 t/fast-pipe-response.ru
rainbows-3.2.0 t/fast-pipe-response.ru
rainbows-3.1.0 t/fast-pipe-response.ru
rainbows-3.0.0 t/fast-pipe-response.ru
rainbows-2.1.0 t/fast-pipe-response.ru
rainbows-2.0.1 t/fast-pipe-response.ru
rainbows-2.0.0 t/fast-pipe-response.ru
rainbows-1.0.0 t/fast-pipe-response.ru
rainbows-1.0.0pre1 t/fast-pipe-response.ru
rainbows-0.97.0 t/fast-pipe-response.ru
rainbows-0.96.0 t/fast-pipe-response.ru