Cleanup, CHANGELOG

This commit is contained in:
Jakub Roztocil 2012-08-01 23:51:30 +02:00
parent 52e46bedda
commit e045ca6bd8
3 changed files with 4 additions and 4 deletions

View File

@ -375,6 +375,7 @@ Changelog
* `0.2.7dev`_
* Support for efficient large file downloads.
* Response body is fetched only when needed (e.g., not with ``--headers``).
* Improved content type matching.
* Updated Solarized color scheme.
* Windows: Added ``--output FILE`` to store output into a file
(piping results into corrupted data on Windows).

View File

@ -85,7 +85,6 @@ def output_stream(args, env, request, response):
"""
exchange = []
prettifier = (OutputProcessor(env, pygments_style=args.style)
if args.prettify else None)
@ -105,8 +104,8 @@ def output_stream(args, env, request, response):
for chunk in request_iter:
yield chunk
if with_response:
yield b'\n\n\n'
if with_request and with_response:
yield b'\n\n\n'
if with_response:
response_iter = formatted_stream(

View File

@ -58,7 +58,7 @@ class HTTPResponse(HTTPMessage):
"""A `requests.models.Response` wrapper."""
def __iter__(self):
mb = 1024 * 1000
mb = 1024 * 1024
return self._orig.iter_content(chunk_size=2 * mb)
@property