Skip to content


Subversion checkout URL

You can clone with
Download ZIP

Comparing changes

Choose two branches to see what's changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
base fork: jakubroztocil/httpie
base: 0.2.5
head fork: jakubroztocil/httpie
compare: 0.2.7
Commits on Jul 16, 2012
@jakubroztocil 0.2.6dev 533a662
@jakubroztocil README fixes. 54e3e5b
Commits on Jul 17, 2012
@jakubroztocil Added support for terminal colors under Windows.
Tested on Python 2.7 under Windows 7 with PowerShell and cmd.exe.

Closes #36
@jakubroztocil Updated changelog. 40948db
@jakubroztocil Clean up. c2d70e2
Commits on Jul 19, 2012
Jake Basile Added the ability to pass query string parameters. 06ea36a
Jake Basile Added a bit of testing for the new query string parameters. 24d6331
Jake Basile Updated documentation for query string params. 76a3125
@jakubroztocil Merge pull request #72 from jakebasile/issue-61
Added Query String Parameters (param=:value).
@jakubroztocil Updated changelog; added stable version README link. ab7915d
Commits on Jul 20, 2012
@jakubroztocil Improved highlighting of HTTP headers.
Closes #60.
@jakubroztocil Updated installation instructions. 7d82b85
@jakubroztocil Changed default --print to "b" if stdout piped.
If the output is piped to another program or redirected to a file,
the new default behaviour is to only print the response body.
(It can still be overriden via the ``--print`` flag.)
@jakubroztocil Updated flags in README. c271715
Commits on Jul 21, 2012
@jakubroztocil Added `models.Environment()`.
Refactoring and general cleanup.
@jakubroztocil Fixed tests. ced6e33
@jakubroztocil Undebug 35da443
@jakubroztocil Use local `httpbin` for all tests if available. 19f7604
@jakubroztocil Fixed colorama initialization (#36). 0a67361
Commits on Jul 23, 2012
@jakubroztocil Added exit codes for HTTP 3xx, 4xx, 5xx (3, 4, 5).
Also added `--ignore-http-status` to ensure 0 exit status.

HTTP 3xx result in 0 exit status when `--allow-redirects` is set.
@jakubroztocil Fixed tests. fba3912
@jakubroztocil Replaced --ignore-http-status with --check-status.
The default behaviour now is to exit with 0 on HTTP errors
unless --check-status is set.
@jakubroztocil Updated changelog. 728a1a1
Commits on Jul 24, 2012
@jakubroztocil Switched to "==" a the separator for URL params.
Also refactored item escaping.
@jakubroztocil Allow multiple fields with the same name.
Applies to form data and URL params:

    http -f url a=1 a=2
    http url a==1 a==2
@jakubroztocil Short option for --headers is now -h.
-t has been removed, for usage use --help
@jakubroztocil Fixed RST formatting. 9391c89
Commits on Jul 25, 2012
@jakubroztocil Ensure that full querystring is printent with -v.
The `key==value` parameters weren't included in the Request-Line URL.

Also added tests.
@jakubroztocil Clean-up 26a76e8
Commits on Jul 26, 2012
@jakubroztocil Improved error messages. 851412c
@jakubroztocil Mention necessary quoting with `:=`. #77 f26f2f1
@jakubroztocil Added docstrings, refactored input. f45cc0e
@jakubroztocil v0.2.6 b53d483
@jakubroztocil v0.2.7dev a770d79
Commits on Jul 27, 2012
@jakubroztocil Default to https:// if invoked as `https'. a8ddb83
Commits on Jul 28, 2012
@jakubroztocil Fixed multipart requests output; binary support.
* Bodies of multipart requests are correctly printed (closes #30).
* Binary requests and responses should always work (they are also suppressed
  for terminal output). So things like this work::

     http > favicon.ico
@jakubroztocil Fixed typos. 1efea59
@jakubroztocil Send filenames with multipart/form-data file uploads. f5bc081
Commits on Jul 29, 2012
@jakubroztocil Removed redundant decode/encode. 1663587
@jakubroztocil Validate "file fields (name@/path) require --form / -f". f73bfea
@jakubroztocil Consistent request-response separators. edf87c3
@jakubroztocil Better error messages. 6eed0d9
Commits on Jul 30, 2012
@jakubroztocil Revorked output
Binary now works everywhere. Also added `--output FILE` for Windows.
@jakubroztocil Added AUTHORS a1682d0
@jakubroztocil Updated solarized and switched to Solarized256Style. e13f65a
@jakubroztocil Updated screenshot. a8c9441
@jakubroztocil Updated screenshot. 72d371c
@jakubroztocil Updated screenshot. 49604e7
@jakubroztocil Updated screenshot. 4117d99
@jakubroztocil Syntax-highlighting for examples in the README. 5e7bb1f
@jakubroztocil Syntax-highlighting for examples in the README. a5b9881
@jakubroztocil cleanup 8905b4f
Commits on Jul 31, 2012
@jakubroztocil Added tests for binary request data. 90d34ff
Commits on Aug 01, 2012
@jakubroztocil Fallback to media subtype if the type is uknown.
Closes #81.
@jakubroztocil Don't fetch the response body unless needed.
E.g., this will only read the response headers but won't download the
whole file:

    http GET --headers

The request method is respected (i.e., it doesn't switch to HEAD like
cURL does).
@jakubroztocil Take advantage of streaming.
It's now possible to download huge files with HTTPie, and it's often faster than curl and wget!
@jakubroztocil Cleanup, CHANGELOG e045ca6
Commits on Aug 02, 2012
@jakubroztocil Fixed error handling. 4b1a04e
@jakubroztocil Sort headers by name when prettifying. 4615011
Commits on Aug 04, 2012
@jakubroztocil Streamed terminal output
`--stream` can be used to enable streaming also with `--pretty` and to ensure
a more frequent output flushing.
@jakubroztocil Changelog, typos 747b87c
@jakubroztocil Improved password prompt. 94c77c9
@jakubroztocil Added exit status constants, cleaned up main(). 4e58a38
Commits on Aug 06, 2012
@jakubroztocil Set JSON Content-Type only with data even with -j. 44e4096
@jakubroztocil Extended README. 381e60f
@jakubroztocil Compatibility with Requests 0.13.6. dd2c894
@jakubroztocil v0.2.7 969b310