class Rack::ShowStatus

Rack::ShowStatus catches all empty responses and replaces them with a site explaining the error.

Additional details can be put into rack.showstatus.detail and will be shown as HTML. If such details exist, the error page is always rendered, even if the reply was not empty.