1
0
Fork 0
mirror of https://github.com/puma/puma.git synced 2022-11-09 13:48:40 -05:00

A rack app needs to set Content-Type

If not Rack Lint complains :-(
This commit is contained in:
Luis Lavena 2012-01-08 17:12:20 -03:00
parent 935a5569ea
commit 38ab15dc9a

View file

@ -1 +1 @@
run lambda { |env| [200, {}, ["Hello World"]] }
run lambda { |env| [200, {"Content-Type" => "text/plain"}, ["Hello World"]] }