Skip to content

Commit

Permalink
Cleanup, CHANGELOG
Browse files Browse the repository at this point in the history
  • Loading branch information
jkbrzt committed Aug 1, 2012
1 parent 52e46be commit e045ca6
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
1 change: 1 addition & 0 deletions README.rst
Expand Up @@ -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).
Expand Down
5 changes: 2 additions & 3 deletions httpie/core.py
Expand Up @@ -85,7 +85,6 @@ def output_stream(args, env, request, response):
"""

exchange = []
prettifier = (OutputProcessor(env, pygments_style=args.style)
if args.prettify else None)

Expand All @@ -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(
Expand Down
2 changes: 1 addition & 1 deletion httpie/models.py
Expand Up @@ -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
Expand Down

0 comments on commit e045ca6

Please sign in to comment.