Commit Graph

846 Commits

Author SHA1 Message Date
Jakub Roztocil
6e1dbadff9 Replace --show-redirects with --all and add --print-others, -P
With --all, any intermediary requests/responses are shown (such as redirects
 or the initial unauthorized Digest auth request).

 The --print-others, -P option works like --print, -p, but only applies to
 intermediary requests/responses. The default behaviour is to inherit
 the value of -p.
2016-03-07 07:04:23 +08:00
Jakub Roztocil
a6ebc44a48 Run tests against both HTTP and HTTPS
Some of the tests now use the `httpbin_both` fixture from pytest-httpbin.
Also, made httpbin's CA trusted by default and added `httpbin_secure_untrusted`
fixture  to allow overriding that for particular tests.
2016-03-06 17:42:35 +08:00
Jakub Roztocil
5e03aeceb7 Make fruity default style one Windows
(again)
2016-03-06 08:33:40 +08:00
Jakub Roztocil
13ee9389aa Add link to contributors 2016-03-05 19:48:35 +08:00
Jakub Roztocil
bb49a1f979 Improved --debug output 2016-03-05 01:42:48 +08:00
Jakub Roztocil
4e574e6b8e Cleanup tests 2016-03-03 18:50:18 +08:00
Jakub Roztocil
529981af7a Fix CHANGELOG 2016-03-03 18:46:58 +08:00
Jakub Roztocil
6731cb881a README 2016-03-03 17:26:47 +08:00
Jakub Roztocil
f7d1b739e2 README 2016-03-03 17:24:46 +08:00
Jakub Roztocil
5bdf4a3bae Fixed test_rst_file_syntax error message 2016-03-03 17:22:12 +08:00
Jakub Roztocil
2d9414d34c Fixed README 2016-03-03 17:21:51 +08:00
Jakub Roztocil
20823c1702 Removed the "implicit_content_type" config option
If you used:

    "implicit_content_type": "form"

 You can achieve the the same result with:

     "default_options": ["--form"]

If you used:

    "implicit_content_type": "json"

 Then it's the default behaviour and it can be removed.

 In either case HTTPie will migrate your config file on the next invocation.
2016-03-03 17:14:39 +08:00
Jakub Roztocil
5dbd104c3b Nobody ain't got time for that 2016-03-03 17:09:34 +08:00
Jakub Roztocil
13a979ad11 Cleanup 2016-03-02 14:20:35 +08:00
Jakub Roztocil
4cfa143bfe Fixed coverage 2016-03-02 13:31:40 +08:00
Jakub Roztocil
d24f30d0af Cleanup 2016-03-02 13:31:23 +08:00
Jakub Roztocil
66e168b2af Improved failed test output 2016-03-02 13:16:41 +08:00
Jakub Roztocil
564670566c Fix coveralls integration 2016-03-02 12:25:19 +08:00
Jakub Roztocil
ecbbad816a Fix coveralls integration 2016-03-02 12:24:46 +08:00
Jakub Roztocil
0432694661 Changel 2016-03-02 12:24:24 +08:00
Jakub Roztocil
dc4da527db Added --ssl=<PROTOCOL_VERSION>
Closes #98
2016-03-02 12:12:05 +08:00
Jakub Roztocil
38e8ef14ec Run positive tests first
Trying to debug failing SSL tests on Travis - kevin1024/pytest-httpbin#32
2016-03-02 10:35:40 +08:00
Jakub Roztocil
c73dcaf63d CI 2016-03-02 10:08:20 +08:00
Jakub Roztocil
fb85509e91 CI 2016-03-02 09:58:50 +08:00
Jakub Roztocil
a2dca1e3bb CI 2016-03-02 09:44:39 +08:00
Jakub Roztocil
c2dae62af0 Appveyor: added Python 3.5 build 2016-03-02 09:37:58 +08:00
Jakub Roztocil
ae7008ee96 Appveyor 2016-03-02 09:33:43 +08:00
Jakub Roztocil
f6824f7ade Cleanup 2016-03-02 02:53:23 +08:00
Jakub Roztocil
7fd46e0b0d Cleanup 2016-03-02 01:02:11 +08:00
Jakub Roztocil
d4067fcb6d Added a short timeout for test requests 2016-03-02 00:31:00 +08:00
Jakub Roztocil
20f01709ea Mention URL escaping
Closes #311
2016-03-01 23:48:13 +08:00
Jakub Roztocil
56afd1adb9 Test suite cleanup 2016-03-01 23:22:50 +08:00
Jakub Roztocil
5e87a2d7e5 Cleanup 2016-03-01 23:13:45 +08:00
Jakub Roztocil
d30e28c2c7 Test suite improvements 2016-03-01 23:11:06 +08:00
Jakub Roztocil
0d2d24eac7 Copy 2016-03-01 21:37:26 +08:00
Jakub Roztocil
e2751e5fa3 Fixed args for Python 2.x 2016-03-01 21:28:10 +08:00
Jakub Roztocil
2a25d71aa4 Refactored main() into program() + main() 2016-03-01 21:10:54 +08:00
Jakub Roztocil
01ca7f0eb2 Ignore redirected stdout with --output, -o
This makes it easier to use HTTPie in cron jobs and scripts.

Closes #259
2016-03-01 20:24:50 +08:00
Jakub Roztocil
4f8d6c013b Fixed get_lexer() 2016-03-01 16:55:12 +08:00
Jakub Roztocil
e83e554ffb README 2016-03-01 16:50:30 +08:00
Jakub Roztocil
345f5a02a2 Fixed json absolute import 2016-03-01 16:39:50 +08:00
Jakub Roztocil
f96f0ef9ed JSON detection improvements 2016-03-01 16:22:54 +08:00
Jakub Roztocil
74e4d0b678 Added JSON detection when `--json, -j` is set
To correctly format JSON responses even when an incorrect ``Content-Type`` is returned.

Closes #92
Closes #349
Closes #368
2016-03-01 14:57:15 +08:00
Jakub Roztocil
0fc1f61f3d Fixed README 2016-03-01 00:45:54 +08:00
Jakub Roztocil
c50413a9c1 Added support section 2016-03-01 00:24:52 +08:00
Jakub Roztocil
9f8c452e7e Added gitter chat 2016-03-01 00:12:55 +08:00
Jakub Roztocil
776328c818 Added gitter chat 2016-03-01 00:08:07 +08:00
Jakub Roztocil
9312fabc01 Capitalization II 2016-02-29 22:03:08 +08:00
Jakub Roztocil
48ce934dfa Capitalization 2016-02-29 22:01:05 +08:00
Jakub Roztocil
3625bb6fa1 Updated travis badge title 2016-02-29 22:00:18 +08:00