unicorn.git  about / heads / tags
Rack HTTP server for Unix and fast clients
blob 17a565bc64dd244097431925106e024a0345fbe0 192 bytes (raw)
$ git show HEAD:test/benchmark/stack.ru	# shows this blob on the CLI

1
2
3
4
5
6
7
8
9
 
# frozen_string_literal: false
run(lambda { |env|
  body = "#{caller.size}\n"
  h = {
    "Content-Length" => body.size.to_s,
    "Content-Type" => "text/plain",
  }
  [ 200, h, [ body ] ]
})

git clone https://yhbt.net/unicorn.git