hack-contrib-2009.6.25: Hack contribSource codeContentsIndex

Stolen from rack: catches all empty responses the app it wraps and replaces them with a site explaining the error. Additional details can be put into hack.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.

Note: it appears that only when content is empty will this message be shown.

show_status :: MiddlewareSource
Produced by Haddock version 2.4.2