Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
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: jkbrzt/httpie
base: 0.2.5
...
head fork: jkbrzt/httpie
compare: 0.2.7
Commits on Jul 16, 2012
@jkbrzt 0.2.6dev 533a662
@jkbrzt README fixes. 54e3e5b
Commits on Jul 17, 2012
@jkbrzt Added support for terminal colors under Windows.
Tested on Python 2.7 under Windows 7 with PowerShell and cmd.exe.

Closes #36
2dba176
@jkbrzt Updated changelog. 40948db
@jkbrzt 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
@jkbrzt Merge pull request #72 from jakebasile/issue-61
Added Query String Parameters (param=:value).
1d6fcff
@jkbrzt Updated changelog; added stable version README link. ab7915d
Commits on Jul 20, 2012
@jkbrzt Improved highlighting of HTTP headers.
Closes #60.
16f23d8
@jkbrzt Updated installation instructions. 7d82b85
@jkbrzt 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.)
57fc606
@jkbrzt Updated flags in README. c271715
Commits on Jul 21, 2012
@jkbrzt Added `models.Environment()`.
Refactoring and general cleanup.
87042f6
@jkbrzt Fixed tests. ced6e33
@jkbrzt Undebug 35da443
@jkbrzt Use local `httpbin` for all tests if available. 19f7604
@jkbrzt Fixed colorama initialization (#36). 0a67361
Commits on Jul 23, 2012
@jkbrzt 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.
0572158
@jkbrzt Fixed tests. fba3912
@jkbrzt Replaced --ignore-http-status with --check-status.
The default behaviour now is to exit with 0 on HTTP errors
unless --check-status is set.
2646eba
@jkbrzt Updated changelog. 728a1a1
Commits on Jul 24, 2012
@jkbrzt Switched to "==" a the separator for URL params.
Also refactored item escaping.
9944def
@jkbrzt 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
7af08b6
@jkbrzt Short option for --headers is now -h.
-t has been removed, for usage use --help
76ebe7c
@jkbrzt Fixed RST formatting. 9391c89
Commits on Jul 25, 2012
@jkbrzt Ensure that full querystring is printent with -v.
The `key==value` parameters weren't included in the Request-Line URL.

Also added tests.
f5cfd01
@jkbrzt Clean-up 26a76e8
Commits on Jul 26, 2012
@jkbrzt Improved error messages. 851412c
@jkbrzt Mention necessary quoting with `:=`. #77 f26f2f1
@jkbrzt Added docstrings, refactored input. f45cc0e
@jkbrzt v0.2.6 b53d483
@jkbrzt v0.2.7dev a770d79
Commits on Jul 27, 2012
@jkbrzt Default to https:// if invoked as `https'. a8ddb83
Commits on Jul 28, 2012
@jkbrzt 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 www.google.com/favicon.ico > favicon.ico
098e1d3
@jkbrzt Fixed typos. 1efea59
@jkbrzt Send filenames with multipart/form-data file uploads. f5bc081
Commits on Jul 29, 2012
@jkbrzt Removed redundant decode/encode. 1663587
@jkbrzt Validate "file fields (name@/path) require --form / -f". f73bfea
@jkbrzt Consistent request-response separators. edf87c3
@jkbrzt Better error messages. 6eed0d9
Commits on Jul 30, 2012
@jkbrzt Revorked output
Binary now works everywhere. Also added `--output FILE` for Windows.
923a8b7
@jkbrzt Added AUTHORS a1682d0
@jkbrzt Updated solarized and switched to Solarized256Style. e13f65a
@jkbrzt Updated screenshot. a8c9441
@jkbrzt Updated screenshot. 72d371c
@jkbrzt Updated screenshot. 49604e7
@jkbrzt Updated screenshot. 4117d99
@jkbrzt Syntax-highlighting for examples in the README. 5e7bb1f
@jkbrzt Syntax-highlighting for examples in the README. a5b9881
@jkbrzt cleanup 8905b4f
Commits on Jul 31, 2012
@jkbrzt Added tests for binary request data. 90d34ff
Commits on Aug 01, 2012
@jkbrzt Fallback to media subtype if the type is uknown.
Closes #81.
00d85a4
@jkbrzt 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 example.org/big-file.avi

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