Sha256: 785c4a0260f0b74f9532a3dfa2881c334430bebf1d70c9a1270b87abc4805852

Contents?: true

Size: 242 Bytes

Versions: 4

Compression:

Stored size: 242 Bytes

Contents

# frozen_string_literal: true
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

4 entries across 4 versions & 1 rubygems

Version Path
pitchfork-0.16.0 examples/hello.ru
pitchfork-0.15.0 examples/hello.ru
pitchfork-0.14.0 examples/hello.ru
pitchfork-0.13.0 examples/hello.ru