7 lines
116 B
Ruby
7 lines
116 B
Ruby
app = Proc.new do |env|
|
|
file = File.open('file', 'r')
|
|
['200', {'Content-Length' => '5'}, file]
|
|
end
|
|
|
|
run app
|