Selectively capture the response body

It's about issue https://github.com/ariya/phantomjs/issues/10158