mitmproxy/netlib — pull request #40 by bradleypeabody (2014-07-13 05:48:15+00:00)
Title: added option for read_response to only read the headers

See https://github.com/mitmproxy/mitmproxy/issues/88

Added include_body param to read_response, so you can read just the headers (so we can implement streaming response).