since we know the length, lets use it
skip unless a redirect status
handle filehandle like object edge case
funny enough, return $res is not needed at all
do not change the location header and also more carefully determine content length
make sure we set the content type when we are setting a body and a test case for basic deplayed response
placeholder code for the streaming condition;