Commit Graph

1194 Commits

Author SHA1 Message Date
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
Jakub Roztocil
596fdc8c7e Update README examples with the new default Accept-Encoding value used by Requests. 2015-02-14 17:55:34 +01:00
Jakub Roztocil
6e7e2f2eea Changed the default JSON Content-Type to application/json. 2015-02-14 17:45:15 +01:00
Jakub Roztočil
748794257c Merge pull request #306 from msabramo/patch-4
.travis.yml: sudo false for Docker containers
2015-02-10 17:41:32 +01:00
Marc Abramowitz
55fa975ae5 .travis.yml: sudo false for Docker containers
Enables new Docker container infrastructure.
2015-02-10 07:41:38 -08:00
Jakub Roztočil
e6e94398ae Merge pull request #303 from msabramo/coveralls_only_one
.travis.yml: Only do coveralls on the latest Python version
2015-02-10 16:38:54 +01:00
Marc Abramowitz
fbd44640e6 .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.
2015-02-10 07:37:03 -08:00
Jakub Roztočil
43915b5fc0 Merge pull request #304 from msabramo/patch-2
compat.py: Add pragma no covers
2015-02-10 16:00:59 +01:00
Jakub Roztočil
f1e1299104 Merge pull request #305 from msabramo/patch-3
Conditionally skip test_session_unicode on Py3k
2015-02-10 16:00:24 +01:00
Marc Abramowitz
86ebb9b741 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.
2015-02-10 06:54:59 -08:00
Marc Abramowitz
873102d5eb Mark test_session_unicode as xfail
There are known problems with unicode in headers.
See https://github.com/jakubroztocil/httpie/issues/282
2015-02-10 06:52:51 -08:00
Jakub Roztocil
337c05f95c README 2015-02-07 18:06:49 +01:00
Jakub Roztocil
a786f17997 1.0.0-dev 2015-02-07 17:04:33 +01:00
Jakub Roztocil
753a8d04e4 v0.9.1 2015-02-07 17:04:13 +01:00
Jakub Roztocil
3ff03524ff HTTP/2 has no minor versions.
https://github.com/jakubroztocil/httpie-http2/issues/1
2015-02-07 16:31:42 +01:00
Jakub Roztocil
a5a83c5b77 Prevent a circular import issue. 2015-02-07 16:29:17 +01:00
Jakub Roztocil
9682f955b5 Handle HTTP/2 responses
https://github.com/jakubroztocil/httpie-http2/issues/1#issuecomment-73301801
2015-02-06 21:13:57 +01:00
Jakub Roztocil
0d21ff022e Added a link to @pd's httpie-api-auth plugin 2015-02-06 20:06:50 +01:00
Jakub Roztocil
996e314482 Cleanup 2015-02-05 15:55:20 +01:00
Jakub Roztocil
687a6a734d Added support for transport adapter plugins
#276, #298
2015-02-05 15:25:00 +01:00
Jakub Roztocil
b125ce5eae Allow custom URL schemes
Closes #299

See also #276
2015-02-05 14:35:34 +01:00
Jakub Roztocil
92a4352f10 Added a coveralls badge. 2015-01-31 17:49:48 +01:00
Jakub Roztočil
c0f1fb61ac Merge pull request #297 from msabramo/patch-1
README.rst: suppor => support
2015-01-31 16:15:42 +01:00
Marc Abramowitz
17358be1ae README.rst: suppor => support 2015-01-31 07:01:54 -08:00