Closed kubo39 closed 11 years ago
In case this rack app:
app = lambda do |env| [200, {'Content-Type'=> 'text/plain'}, []] end
It raises StopIteraion, and server goes down.
How to avoid this?
or your suggestion, please!
Thin とかではレスポンスボディが空の配列の場合はそのまま空文字列と同じように扱っているみたい。 Rack仕様はとくにこのケースにかんしての言及ないみたいなのでサーバ側の実装依存?
In case this rack app:
It raises StopIteraion, and server goes down.
How to avoid this?
or your suggestion, please!