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.0
...
head fork: jkbrzt/httpie
compare: master
This comparison is big! We're only showing the most recent 250 commits
Commits on Sep 25, 2013
@jkbrzt Update --proxy examples to include URLs to work with Requests v2.0.0.. 81c9988
Commits on Oct 09, 2013
@nlf nlf allow :port style shorthand 711168a
@nlf nlf make shorthand parsing more robust, add unit tests and documentation 8a52bef
@nlf nlf tweak readme to show http requests 70eb97d
@nlf nlf tweak readme more 2c12fd9
@nlf nlf tweak readme more 9034546
@nlf nlf add self to authors, update changelog, and mention shorthand in --hel…
…p output
4fe3deb
@jkbrzt Merge pull request #171 from nlf/master
Allow :port style shorthand for localhost.
817165f
@jkbrzt Added a link to the httpie-negotiate auth plugin by @ndzou. 927acc2
@jkbrzt Added a link to the httpie-negotiate auth plugin by @ndzou II. 0e267d8
Commits on Oct 15, 2013
@unsignedint unsignedint process XML data before pretty-printing to trim whitespace bcdf194
Commits on Oct 16, 2013
@unsignedint unsignedint replace XML processor with ElementTree with custom indentation bee10e5
Commits on Dec 08, 2013
@jkbrzt Added Bitdeli badge. 6af42b1
Commits on Jan 06, 2014
@solidsnack solidsnack Expunge user:pass@... from Host header.
In verbose mode, the basic auth user and password would show up in colored
output reporting the Host header, as reported in
#169
5a037b2
Commits on Jan 07, 2014
@thomasleveil thomasleveil fix typo a31d552
Commits on Jan 08, 2014
@jkbrzt Merge pull request #192 from thomasleveil/patch-1
fix typo
7a84163
@jkbrzt Merge pull request #191 from solidsnack/wip-no-auth-in-host-header
Expunge user:pass@... from Host header.
b1074cc
Commits on Jan 17, 2014
@jkbrzt Update README.rst 01df344
@jkbrzt Update README.rst 748a0a4
Commits on Jan 25, 2014
@jkbrzt Catch UnicodeDecodeError when embedding file via =@ or :=@. 1aa7701
@jkbrzt Updated README. 52dd6ad
@jkbrzt Cleanup e0cc63c
@jkbrzt v0.8.0 f1224da
@jkbrzt Fixed changelog link. 43cc3e7
Commits on Jan 28, 2014
Matthias Lehmann add support for client SSL certificate and key 14583a2
Commits on Jan 29, 2014
Matthias Lehmann check --ssl-cert and --ssl-key to be files b9d7220
Matthias Lehmann rename existing_file to readable_file_arg and move to input d4363a5
Commits on Feb 05, 2014
Matthias Lehmann rename -ssl-cert and --ssl-key to --cert and --certkey a3aae12
Matthias Lehmann document --cert and --certkey dd7197c
Commits on Feb 12, 2014
Matthias Lehmann added --cert to CHANGELOG and matleh to AUTHORS b3a34ab
@jkbrzt Merge pull request #197 from matleh/master
add support for client SSL certificate and key
2c885b0
Commits on Feb 18, 2014
@jkbrzt Fixed ZeroDivisionError in download summary.
Closes #202
b01906a
@jkbrzt Removed Bitdeli badge. af6bda1
Commits on Mar 04, 2014
@jkbrzt Updated installation instructions. 29877bc
@jkbrzt Updated installation instructions. 09810d5
@jkbrzt Updated installation instructions. c33775e
@jkbrzt Updated installation instructions. 76ab6e4
Commits on Mar 18, 2014
@jkbrzt Merge pull request #172 from unsignedint/master
process XML data before pretty-printing to trim whitespace
733771f
Commits on Mar 24, 2014
@insyte insyte Update README.rst a2918d8
Commits on Mar 25, 2014
@jkbrzt Merge pull request #208 from insyte/master
Update README.rst with pronunciation.
e62620d
Commits on Mar 31, 2014
@jkbrzt Fixed SessionTest.test_session_read_only. bbbae3a
@jkbrzt Skip ExitStatusTest.test_timeout_exit_status until timeout gets fixed…
… in requests.
746a189
Commits on Apr 24, 2014
@jkbrzt Refactored tests into smaller modules. 6071fff
@jkbrzt Converted all unittest asserts to plain, pytest-powered asserts. b880e99
@jkbrzt Moved fixture constants to tests.fixtures. 941c0a8
@jkbrzt Switched to @pytest.mark.skipif. 6f28624
@jkbrzt Cleanup
XX
3cb124b
@jkbrzt Finished pytest migration. 3d07994
@jkbrzt Added CONTRIBUTING.rst. 887f70f
@jkbrzt Added tests for --debug and --help. bdea7be
@jkbrzt Added docstrings for utilities in `tests.__init__`. ce2169f
@jkbrzt More tests. e5d758e
@jkbrzt Added Python 2.6 compatible OrderedDict
To preserver ordr of headers, parameters, etc.
f02169e
@jkbrzt Python 3.4 3f8a000
@jkbrzt Parallelized tests using pytest-xdist. 3f63133
Commits on Apr 25, 2014
@jkbrzt Travis doesn't support Python 3.4 yet. ea42d32
@jkbrzt Parametrize test_docs.py. f658d24
@jkbrzt Removed last dependencies on unittest. All tests are pytest-only. 27faf06
@jkbrzt Test improvements. af4aa3a
@jkbrzt Cleanup 492ee39
@jkbrzt Removed unused import. b10d973
@jkbrzt Improved auth tests. 3c2de34
@jkbrzt Improved session tests. 1d987c5
@jkbrzt Cleanup 3342231
@jkbrzt Cleanup
631e332
Commits on Apr 26, 2014
@jkbrzt Added appveyor.yml
0e1b651
@jkbrzt Updated appveyor.yml
e1348da
@jkbrzt Updated appveyor.yml
6a86164
@jkbrzt Updated appveyor.yml
4a0d387
@jkbrzt Updated appveyor.yml
272e66b
@jkbrzt Updated appveyor.yml
e2dabbf
@jkbrzt Updated appveyor.yml
aeccac5
@jkbrzt Updated appveyor.yml
78c83da
@jkbrzt Updated appveyor.yml
8fb1e10
@jkbrzt Updated appveyor.yml
95a0884
@jkbrzt Updated appveyor.yml
091a8b2
@jkbrzt Updated appveyor.yml
5c3d24e
@jkbrzt Don't used pytest-xdist with setup.py test
e3af74d
@jkbrzt Updated appveyor.yml
5065c4f
@jkbrzt Run tests in verbose mode.
8158fa8
@jkbrzt Disabled test_windows_colorized_output
0c45c7c
@jkbrzt Added windows build status icon to README.
5c29a4e
@jkbrzt Implemented more robust unicode handling.
* Immediatelly convert all args from `bytes` to `str`.
* Added `Environment.stdin_encoding` and `Environment.stdout_encoding`
* Allow unicode characters in HTTP headers and basic auth credentials
  by encoding them using UTF8 instead of latin1 (#212).
15e62ad
@jkbrzt Fix Windows branch.
56d33a8
@jkbrzt Avoid "TypeError: keyword arguments must be strings" on Python 3.3.
282cc45
@jkbrzt Fix tox config. 8ec32fe
@jkbrzt Python 3 unicode fixes. 467d126
@jkbrzt Added unicode characters to json fixture. 77dcd6e
@jkbrzt More unicode tests. 3478cbd
@jkbrzt Changelog
e8a1c05
@jkbrzt Added support and tests for unicode support in sessions.
a3352af
@jkbrzt Added test_unicode_url_query_arg_item.
84a521a
@jkbrzt Fixed fixture loading on Windows.
bbc820b
@jkbrzt Updated Travis icon URL.
609950f
@jkbrzt Cleanup
0bd218e
@jkbrzt More unicode.
eca1ffa
@jkbrzt Fixed and added tests for --verbose with unicode headers.
43bc6d0
@jkbrzt Fixed tests.
1169a3e
@jkbrzt Cleanup 87806ac
Commits on Apr 27, 2014
@jkbrzt Python3.3 Windows CI
bae8519
@jkbrzt Fix appveyor.yml
411822d
@jkbrzt Fix appveyor.yml
a95d8bb
@jkbrzt Fix appveyor.yml III.
7c3f8c0
@jkbrzt Fix appveyor.yml IV.
d05063f
@jkbrzt Fix appveyor.yml V.
18f3700
@jkbrzt Cleanup
c06598a
@jkbrzt Modularized output, refactoring
Making it ready for output formatting plugin API.
05db75b
@jkbrzt Debug appveyor
82e16c4
@jkbrzt Python 3.4 @ appveyor.
c8ae697
@jkbrzt Debug appveyor
64b9a86
@jkbrzt Debug appveyor
f67a11c
@jkbrzt Moved `.directory` from `BaseConfigDict` to `Config`.
Closes #200
bd50a6a
@jkbrzt Handle HTTP 0.9 in response when formatting version.
Closes #170
0e6875b
@jkbrzt Travis coveralls.
14763e6
Commits on Apr 28, 2014
@jkbrzt Cleanup 76ab8b8
@jkbrzt Improve support for 'type/subtype+suffix' mime types in the colors ou…
…tput formatter.

E.g.:
* application/ld+json
* application/hal+json

Closes #189, #206
faec00f
@jkbrzt Avoid “__init__.py” files in test directories. 2aa53e4
@jkbrzt Added wheel support
Should make installation via pip work on OSX Mavericks (#148).

Also added a nifty Makefile.
29a564e
@jkbrzt Fixed Makefile, added setup.cfg.
5a989b6
Commits on May 05, 2014
@jkbrzt New URL. d9eca19
@jkbrzt Fixed .rst syntax.
3e1b62f
Commits on May 08, 2014
@jkbrzt Make sure session and default headers play nice
Before: headers = default + args + session
Now:    headers = default + session + args

Fixes #180
858555a
Commits on May 09, 2014
@jkbrzt Update CONTRIBUTING.rst
81518f9
@jkbrzt Update CONTRIBUTING.rst
f26272f
Commits on May 12, 2014
@frewsxcv frewsxcv Enable testing on Python 3.4 b51775b
@jkbrzt Merge pull request #219 from frewsxcv/patch-1
Enable testing on Python 3.4
9c22078
@jkbrzt Converted built-in formatters to formatter plugins.
Still work in progress and the API should be considered private for now.
e4c6806
@jkbrzt Update CONTRIBUTING.rst ea8132b
@jkbrzt Update CONTRIBUTING.rst 02c66e1
@frewsxcv frewsxcv Enable testing on Python 3.4 7036ec6
@jkbrzt Merge branch 'master' of github.com:jkbr/httpie
5743363
Commits on May 13, 2014
@frewsxcv frewsxcv Add supported, relevant Python version classifers 10f7fc1
Commits on May 14, 2014
@jkbrzt Added OSX to Travis CI config.
f9b5b3a
@jkbrzt Merge pull request #220 from frewsxcv/patch-1
Add supported, relevant Python version classifers
4449da4
Commits on May 17, 2014
@jkbrzt Fixed --timeout
* Require requests >= 2.3.0
* Updated test_timeout_exit_status

Close #185.
77955c9
Commits on May 26, 2014
@felixbuenemann felixbuenemann Add info about SNI on Python 2.x to README
This updates the HTTPS section of the README with instructions on how to get SNI working on Python 2.x.
f283de6
@jkbrzt Merge pull request #222 from felixbuenemann/patch-1
Add info about SNI on Python 2.x to README
b44bc09
Commits on Jun 03, 2014
@jkbrzt Fixed tests.
8e170b0
Commits on Jun 15, 2014
Rocky Meza Fixed the order of args to grep in README. 541c75e
@jkbrzt Merge pull request #225 from rockymeza/docs_grep_fix
Fixed the order of args to grep in README.
f5904d9
Commits on Jun 24, 2014
@jkbrzt Added `$ brew install httpie` to README
5e55661
@jkbrzt Fixed README formatting
a02a1eb
Commits on Jun 28, 2014
@jkbrzt PEP8 8c892ed
@jkbrzt Fixed custom Host
Closes #235
040d981
@jkbrzt Mention "brew install httpie --HEAD".
79329ed
@jkbrzt Run tests against local httpbin instance via pytest-httpbin.
2a72ae2
@jkbrzt Fixed `python setup.py test`
529f3bd
Commits on Jul 16, 2014
@ametaireau ametaireau Add the hawk plugin e3c83fc
Commits on Jul 17, 2014
@jkbrzt Merge pull request #241 from ametaireau/patch-1
Add the hawk auth plugin
2fd84ec
Commits on Jul 18, 2014
@jkbrzt Cleanup 0f96348
@jkbrzt Handle empty passwords in URL credentials
Closes #242
ca36f1d
Commits on Aug 15, 2014
@frewsxcv frewsxcv Enable testing on PyPy 3 5d2b3f5
Commits on Sep 05, 2014
@jkbrzt Added RequestItems named tuple for convenience. 1035710
@jkbrzt '\' only escapes separator characters in req-items
It makes easier to work with Windows paths.

Closes #253, #254
5084f18
@jkbrzt Changelog typo.
af873ef
Commits on Sep 07, 2014
@jkbrzt Fixed --output=/dev/null on Linux
Closes #252
b0effe0
@jkbrzt Merge pull request #249 from frewsxcv/patch-1
Enable testing on PyPy 3
d2d1023
Commits on Sep 08, 2014
@jkbrzt Removed pytest-xdist
The test suite is much less IO-bound now with the local httpbin
instance (via pytest-httpbin). Therefore, paralelization is not
as helpful.
6aa711c
@jkbrzt Improved terminal color depth detection via curses
Closes #244
58b51a8
@jkbrzt Merge remote-tracking branch 'origin/master'
afe521e
@jkbrzt Changelog
24f46ff
Commits on Sep 24, 2014
@brakhane brakhane Fallback to JSON highlighting if subtype contains json
Some JSON based formats like JSON Home Documents[1] don't
use a '+json' suffix, but simply contain json in their
MIME type. Also, some servers might use (outdated)
types like 'application/x-json'.

The JSON formatter can already handle those cases,
but the highlighter was ignoring them.

This commit will let the highlighter choose the JSON
lexer if no other lexer could be found and the MIME subtype
contains 'json'

[1] http://tools.ietf.org/html/draft-nottingham-json-home-03
f1cd289
Commits on Sep 25, 2014
@jkbrzt Merge pull request #260 from brakhane/master
Fallback to JSON highlighting if subtype contains json
43f7b84
Commits on Oct 20, 2014
@jkbrzt Cleanup 2078ece
@jkbrzt Cleanup. c301305
@jkbrzt Fixed multiple uploads with the same field name
Closes #267
0481957
Commits on Nov 13, 2014
@asnelzin asnelzin Fixed and added test for JSON properties order. a2b12f7
Commits on Jan 19, 2015
@jkbrzt Exit with 0 for --version and --help (closes #293).
b2ec4f7
Commits on Jan 23, 2015
@jkbrzt Merge branch 'fix-268' of https://github.com/asnelzin/httpie into asn…
…elzin-fix-268
22c993b
@jkbrzt Work around missing `object_pairs_hook` in Python 2.6
25b1be7
@jkbrzt Pypy3 (2.4.0) curses bug workaround.
d3d78af
@jkbrzt --certkey is now --cert-key df07927
@jkbrzt Added tests for client as well as server SSL certificate handling.
5fbafc1
@jkbrzt Added test client SSL certs
12f2d99
@jkbrzt Extended SSL documentation.
59b6020
@jkbrzt README
ed64854
Commits on Jan 31, 2015
@jkbrzt v0.0.9
6c66d91
@jkbrzt 1.0.0-dev
530d6c5
@jkbrzt Fixed version link
338d39c
@msabramo msabramo README.rst: suppor => support 17358be
@jkbrzt Merge pull request #297 from msabramo/patch-1
README.rst: suppor => support
c0f1fb6
@jkbrzt Added a coveralls badge.
92a4352
Commits on Feb 05, 2015
@jkbrzt Allow custom URL schemes
Closes #299

See also #276
b125ce5
@jkbrzt Added support for transport adapter plugins
687a6a7
@jkbrzt Cleanup
996e314
Commits on Feb 06, 2015
@jkbrzt Added a link to @pd's httpie-api-auth plugin
0d21ff0
@jkbrzt Handle HTTP/2 responses
9682f95
Commits on Feb 07, 2015
@jkbrzt Prevent a circular import issue. a5a83c5
@jkbrzt HTTP/2 has no minor versions.
3ff0352
@jkbrzt v0.9.1
753a8d0
@jkbrzt 1.0.0-dev
a786f17
@jkbrzt README
337c05f
Commits on Feb 10, 2015
@msabramo msabramo Mark test_session_unicode as xfail
There are known problems with unicode in headers.
See #282
873102d
@msabramo msabramo compat.py: Add pragma no covers
Cuz this is a lot of version-specific stuff and it can be confusing to have different coverage per version, especially with coveralls.
86ebb9b
@jkbrzt Merge pull request #305 from msabramo/patch-3
Conditionally skip test_session_unicode on Py3k
f1e1299
@jkbrzt Merge pull request #304 from msabramo/patch-2
compat.py: Add pragma no covers
43915b5
@msabramo msabramo .travis.yml: Only do coveralls on newest python
Testing theory that it has to do with different python version subjobs
completing in different orders and the last one wins.
fbd4464
@jkbrzt Merge pull request #303 from msabramo/coveralls_only_one
.travis.yml: Only do coveralls on the latest Python version
e6e9439
@msabramo msabramo .travis.yml: sudo false for Docker containers
Enables new Docker container infrastructure.
55fa975
@jkbrzt Merge pull request #306 from msabramo/patch-4
.travis.yml: sudo false for Docker containers
7487942
Commits on Feb 14, 2015
@jkbrzt Changed the default JSON `Content-Type` to `application/json`.
6e7e2f2
@jkbrzt Update README examples with the new default `Accept-Encoding` value u…
…sed by Requests.
596fdc8
@jkbrzt The default color --style is now "fruity"
It's experimental - please let me know should you dislike this change.

To make Solarized default again, add this to your ~/.config.json:

  "default_options": [
    "--style=solarized"
  ],
419ca85
@jkbrzt Updated screenshot
07aaefa
@jkbrzt Default --style to "monokai"
dd0a4ab
@jkbrzt Temporarily skip SSL tests on PyPy due to #308
985f65e
@jkbrzt Added a PyPy incompatibility workaround.
bc0d17c
@jkbrzt README
40d95b6
@jkbrzt README
42f454e
@jkbrzt Use shields.io badges
3b3eff0
@jkbrzt Tweak badge style
2e5d142
Commits on Feb 15, 2015
@jkbrzt README
5760b78
@jkbrzt README
868baab
@jkbrzt Fixed TOC
45784c7
Commits on Feb 16, 2015
@msabramo msabramo tox.ini: Use pytest-httpbin>=0.0.6
This hopefully fixes SSL timeout errors. 

Fixes #308
dd7f1c4
@msabramo msabramo test_ssl.py: Remove skip failures on PyPy
Revert 985f65e which skipped SSL tests that failed on PyPy because @kevin1024 fixed the problem in pytest-httpbin 0.0.6 (commit kevin1024/pytest-httpbin@f38a312)
51c19cf
@msabramo msabramo Print info about request on error
This can help in diagnosing certain issues. For example, if I were
trying to use a "http+unix" URL but I don't have #299, then I'll get the
following:

    [marca@marca-mac2 httpie]$ http http+unix://%2Ftmp%2Fprofilesvc.sock/status/pid

    http: error: ConnectionError: ('Connection aborted.', gaierror(8, 'nodename nor servname provided, or not known'))
    while doing GET request to URL: http://http+unix//%2Ftmp%2Fprofilesvc.sock/status/pid

Having the URL in the error message is super useful here so that I know an
extra `http://` is getting prepended and it's not doing what I expected.
7f8adad
@msabramo msabramo Increase test coverage for error handling f855de1
@jkbrzt Disable urllib3's "Unverified HTTPS request is being made" warnings
ecc5959
@jkbrzt Merge pull request #312 from msabramo/patch-5
tox.ini: Use pytest-httpbin>=0.0.6
9e62151
@jkbrzt Extracted changes from README into a proper CHANGELOG file
Inspired by keepachangelog.com
2e88aa5
@jkbrzt README fixes
b7fc89a
@jkbrzt Include AUTHORS.rst in dist; metadata cleanup
fb43759
@jkbrzt Update requirements-dev.txt
24957e3
Commits on Feb 24, 2015
@jkbrzt Don't depend on `requests.compat` e4bc363
@jkbrzt Use absolute links to LICENCE, etc. bada3b4
@jkbrzt 0.9.2 a228399
@jkbrzt 1.0.0-dev
1c181a5
@jkbrzt Clean up `compat` and fix `is_pypy`.
fdae686
@jkbrzt README
5f3de55
@jkbrzt Typo fdabbc6
Commits on Feb 28, 2015
@jkbrzt Fixed --debug output
1a43c0e
Commits on Mar 08, 2015
@fay-jai fay-jai Update license with up-to-date year 798cd4f
Commits on Mar 10, 2015
@ifdattic ifdattic Fix typos, improve readability ece85c0
@jkbrzt Merge pull request #321 from ifdattic/patch-1
Fix typos, improve readability
35a3dd2
Commits on Mar 13, 2015
@jkbrzt Added .editorconfig.
ab0d1fd
Commits on Mar 25, 2015
@mihirvj mihirvj See #326
Adds bash completion to http command line interface.

Installing the script:
You can copy it to /etc/bash_completion.d/ (or something else on your
machine) and source it using following command

	$ source /etc/profile

Now whenever you encounter a "-*" on your CLI, it presents you with the
options specified.

Couple of things that are still under work:
1) Adding this bash script to setup, so that user won't need manual
installation
2) Adding more options for HTTP (GET, PUT and so on) and other
options
29a0147
@jkbrzt Merge pull request #330 from mihirvj/bash-completion
Bash auto completion
c1f2634
@jkbrzt Merge pull request #319 from fay-jai/license
Update license with up-to-date year
6aad79d
@jkbrzt Merge pull request #300 from msabramo/print_info_about_request_on_error
Print info about request on error
cbbaac1
@jkbrzt Update CHANGELOG.rst
62407f7
@jkbrzt Update CHANGELOG.rst
daf3573
@jkbrzt Added mock to tests_require
483546d
Commits on Apr 11, 2015
@joaodelgado joaodelgado Only serialize json if data is a dict instance 6fd0f23
Commits on Apr 24, 2015
@jkbrzt Merge pull request #337 from joaodelgado/json-serialization
Only serialize json if data is a dict instance
d8b819b
Commits on Jun 26, 2015
@jkbrzt Converted tabs to spaces.
ced0838
Commits on Jun 30, 2015
@jkbrzt Added a link to the httpie-edgegrid plugin.
be9d928
@jkbrzt Fixed link to httpie-edgegrid
f8c1104
Commits on Jul 03, 2015
@jkbrzt Updated links.
fa4bd03
@jkbrzt Updated links II. 2b51cb6