提交 24e1b556 编写于 作者: J Jeremy Kemper

Fix bare string Rack response bodies

上级 808cad2b
......@@ -178,7 +178,7 @@ def app
@app = lambda { |env|
[200,
{'ETag' => '"202cb962ac59075b964b07152d234b70"',
'Cache-Control' => 'public'}, 'Hello']
'Cache-Control' => 'public'}, ['Hello']]
}
get '/'
......@@ -217,7 +217,7 @@ def app
@app = lambda { |env|
[200,
{'Content-Type' => 'application/xml; charset=utf-16'},
'Hello']
['Hello']]
}
get '/'
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册