ported 7bd641dfafa4a70ddc37a61a15ea63ffb7074e9f:
Fixed #972: AgaviWebResponse sends Content-Length header with value 0 even if 'send_redirect_content' option is enabled