Sha256: 0935bca8944568e034b9833d522d91ee39d561f783df2b1dbd55150a7ef94192
Contents?: true
Size: 276 Bytes
Versions: 137
Compression:
Stored size: 276 Bytes
Contents
# we do not want Rack::Lint or anything to protect us use Rack::ContentLength use Rack::ContentType, "text/plain" map "/" do run lambda { |env| [ 200, {}, [ "OK\n" ] ] } end map "/raise" do run lambda { |env| raise "BAD" } end map "/nil" do run lambda { |env| nil } end
Version data entries
137 entries across 137 versions & 13 rubygems