Commit Graph

667 Commits

Author SHA1 Message Date
Matt Layman
d60a04da2d Add Matt Layman to AUTHORS. 2015-08-30 21:41:14 -04:00
Matt Layman
9ea89ffefe Fix typo in method name of plugin manager. 2015-08-30 21:37:47 -04:00
Jakub Roztocil
2b51cb6687 Updated links II. 2015-07-03 18:55:45 +02:00
Jakub Roztočil
fa4bd033ef Updated links. 2015-07-03 03:40:38 +02:00
Jakub Roztocil
f8c1104429 Fixed link to httpie-edgegrid 2015-06-30 11:51:40 +02:00
Jakub Roztocil
be9d9281b7 Added a link to the httpie-edgegrid plugin. 2015-06-30 11:50:11 +02:00
Jakub Roztocil
ced0838598 Converted tabs to spaces. 2015-06-26 16:39:23 +02:00
Jakub Roztočil
d8b819b03f Merge pull request #337 from joaodelgado/json-serialization
Only serialize json if data is a dict instance
2015-04-24 15:07:16 +02:00
Joao Delgado
6fd0f23f39 Only serialize json if data is a dict instance 2015-04-11 02:11:22 +01:00
Jakub Roztočil
483546d781 Added mock to tests_require 2015-03-25 22:52:49 +01:00
Jakub Roztočil
daf3573908 Update CHANGELOG.rst 2015-03-25 22:37:48 +01:00
Jakub Roztočil
62407f781f Update CHANGELOG.rst 2015-03-25 22:35:36 +01:00
Jakub Roztočil
cbbaac13ea Merge pull request #300 from msabramo/print_info_about_request_on_error
Print info about request on error
2015-03-25 22:21:18 +01:00
Jakub Roztočil
6aad79d71c Merge pull request #319 from fay-jai/license
Update license with up-to-date year
2015-03-25 22:18:42 +01:00
Jakub Roztočil
c1f26347fc Merge pull request #330 from mihirvj/bash-completion
Bash auto completion
2015-03-25 22:08:13 +01:00
Mihir Joshi
29a0147dd5 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
2015-03-24 22:26:10 -04:00
Jakub Roztocil
ab0d1fd8d0 Added .editorconfig. 2015-03-13 17:17:17 +01:00
Jakub Roztočil
35a3dd2855 Merge pull request #321 from ifdattic/patch-1
Fix typos, improve readability
2015-03-10 09:37:40 +01:00
Andrew Marcinkevičius
ece85c0f0c Fix typos, improve readability 2015-03-10 10:05:13 +02:00
Willson Mock
798cd4f0ec Update license with up-to-date year 2015-03-08 11:29:33 -07:00
Jakub Roztocil
1a43c0e5f7 Fixed --debug output 2015-02-28 17:02:05 +01:00
Jakub Roztocil
fdabbc6048 Typo 2015-02-24 16:50:02 +01:00
Jakub Roztocil
5f3de558cb README 2015-02-24 16:41:34 +01:00
Jakub Roztocil
fdae686e12 Clean up compat and fix is_pypy. 2015-02-24 08:18:03 +01:00
Jakub Roztocil
1c181a5d25 1.0.0-dev 2015-02-24 07:52:34 +01:00
Jakub Roztocil
a228399801 0.9.2 2015-02-24 07:50:15 +01:00
Jakub Roztocil
bada3b45f1 Use absolute links to LICENCE, etc. 2015-02-24 07:50:15 +01:00
Jakub Roztocil
e4bc363f9e Don't depend on requests.compat
#314
2015-02-24 07:50:15 +01:00
Jakub Roztočil
24957e3b61 Update requirements-dev.txt
dd7f1c4
2015-02-16 21:55:40 +01:00
Jakub Roztocil
fb437591da Include AUTHORS.rst in dist; metadata cleanup 2015-02-16 21:42:09 +01:00
Jakub Roztocil
b7fc89acdc README fixes 2015-02-16 21:29:40 +01:00
Jakub Roztocil
2e88aa53cf Extracted changes from README into a proper CHANGELOG file
Inspired by keepachangelog.com
2015-02-16 21:16:39 +01:00
Jakub Roztočil
9e62151bec Merge pull request #312 from msabramo/patch-5
tox.ini: Use pytest-httpbin>=0.0.6
2015-02-16 20:27:35 +01:00
Jakub Roztocil
ecc59591f1 Disable urllib3's "Unverified HTTPS request is being made" warnings 2015-02-16 19:36:02 +01:00
Marc Abramowitz
f855de16c2 Increase test coverage for error handling 2015-02-15 23:22:52 -08:00
Marc Abramowitz
7f8adad313 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.
2015-02-15 23:22:52 -08:00
Marc Abramowitz
51c19cfe10 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 f38a312446)
2015-02-15 21:42:34 -08:00
Marc Abramowitz
dd7f1c4cce tox.ini: Use pytest-httpbin>=0.0.6
This hopefully fixes SSL timeout errors. 

Fixes #308
2015-02-15 20:33:57 -08:00
Jakub Roztocil
45784c7260 Fixed TOC 2015-02-15 12:57:57 +01:00
Jakub Roztocil
868baaba4e README 2015-02-15 12:53:57 +01:00
Jakub Roztocil
5760b780a0 README 2015-02-15 11:28:53 +01:00
Jakub Roztocil
2e5d14238f Tweak badge style 2015-02-15 00:54:49 +01:00
Jakub Roztocil
3b3eff01b7 Use shields.io badges 2015-02-15 00:51:58 +01:00
Jakub Roztocil
42f454eb6b README 2015-02-15 00:43:24 +01:00
Jakub Roztocil
40d95b650c README 2015-02-15 00:42:41 +01:00
Jakub Roztocil
bc0d17c04c Added a PyPy incompatibility workaround. 2015-02-15 00:36:55 +01:00
Jakub Roztocil
985f65ef52 Temporarily skip SSL tests on PyPy due to #308 2015-02-14 23:14:06 +01:00
Jakub Roztocil
dd0a4ab87a Default --style to "monokai"
419ca85
2015-02-14 22:51:31 +01:00
Jakub Roztocil
07aaefa232 Updated screenshot 2015-02-14 18:18:43 +01:00
Jakub Roztocil
419ca85e62 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"
  ],
2015-02-14 18:18:04 +01:00