Sha256: 896b48403eeeb5ab82c42c6197cd96378328ca40591e087d9463dd83d0a8e396

Contents?: true

Size: 212 Bytes

Versions: 16

Compression:

Stored size: 212 Bytes

Contents

run lambda { |env|
  /\A100-continue\z/i =~ env['HTTP_EXPECT'] and return [100, {}, []]
  body = "Hello World!\n"
  [ 200, { 'content-type' => 'text/plain', 'content-length' => body.bytesize.to_s }, [ body ] ]
}

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
pitchfork-0.12.0 examples/hello.ru
pitchfork-0.11.1 examples/hello.ru
pitchfork-0.11.0 examples/hello.ru
pitchfork-0.10.0 examples/hello.ru
pitchfork-0.9.0 examples/hello.ru
pitchfork-0.8.0 examples/hello.ru
pitchfork-0.7.0 examples/hello.ru
pitchfork-0.6.0 examples/hello.ru
pitchfork-0.5.0 examples/hello.ru
pitchfork-0.4.1 examples/hello.ru
pitchfork-0.4.0 examples/hello.ru
pitchfork-0.3.0 examples/hello.ru
pitchfork-0.2.0 examples/hello.ru
pitchfork-0.1.2 examples/hello.ru
pitchfork-0.1.1 examples/hello.ru
pitchfork-0.1.0 examples/hello.ru