Commit Graph

909 Commits

Author SHA1 Message Date
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
Jakub Roztocil
a97f0d52f6 Travis 2016-02-29 17:20:50 +08:00
Jakub Roztocil
41b0286f37 Travis 2016-02-29 17:19:12 +08:00
Jakub Roztocil
fee54b04d8 Travis 2016-02-29 17:09:55 +08:00
Jakub Roztocil
73e0455896 Travis 2016-02-29 16:52:33 +08:00
Jakub Roztocil
3b217daddc Travis 2016-02-29 16:43:18 +08:00
Jakub Roztocil
e5e5d0ce6d Travis 2016-02-29 16:36:25 +08:00
Jakub Roztocil
f43e473de1 Travis 2016-02-29 16:35:09 +08:00
Jakub Roztocil
0a002ec554 Fix travis 2016-02-29 15:38:59 +08:00
Jakub Roztocil
576ee83d82 Fix travis 2016-02-29 15:35:56 +08:00
Jakub Roztocil
e42f7b8fc9 OSX build 2016-02-29 15:32:10 +08:00
Jakub Roztočil
b44e16ed0f Fix appveyor 2016-02-29 15:14:43 +08:00
Jakub Roztocil
ed08ab133e Refactoring 2016-02-29 15:00:17 +08:00
Jakub Roztocil
5408fb0fb9 Cleanup 2016-02-29 14:31:27 +08:00
Jakub Roztocil
e18b609ef7 Fixed --max-redirects 2016-02-29 14:21:25 +08:00
Jakub Roztocil
356e043651 Added --show-redirects and --max-redirects
Closes #157, #183, #188, #246
2016-02-29 14:12:09 +08:00
Jakub Roztocil
c6d4f6cdf6 Show redirects WIP 2016-02-29 14:07:08 +08:00
James Carr
dc1371d4d6 Implemented --max-redirects option
Added argument to argparse, changed client so that it uses a new
requests Session() with the number of redirects and a single test to
show the setting works.
2016-02-29 14:07:08 +08:00
Jakub Roztočil
e2235e56dc Update CHANGELOG.rst 2016-02-29 02:38:09 +08:00
Jakub Roztočil
763935b77f Update CHANGELOG.rst 2016-02-29 02:37:36 +08:00
Jakub Roztocil
6435532f72 Updated CHANGELOG 2016-02-28 21:37:49 +08:00
Jakub Roztocil
11a37067e7 Document -A as a short name for --auth-type 2016-02-28 21:01:21 +08:00
Jakub Roztočil
25f0156502 Merge pull request #432 from hangtwenty/master
Add `-A` as short arg for `--auth-type`
2016-02-28 20:58:23 +08:00
Jakub Roztocil
0f8d04b4df More robust mime type parsing
Closes #344
2016-02-28 20:12:16 +08:00
Jakub Roztocil
e385ed6a99 Fix README 2016-02-28 19:32:19 +08:00
Jakub Roztocil
01fdab55e9 Explain how to send fieldnames and headers starting with '-'
Closes #355
2016-02-28 19:31:43 +08:00
Jakub Roztocil
1127557742 Cleanup 2016-02-28 19:15:35 +08:00
Jakub Roztocil
5898879395 Fixed --download with --session
Closes #412
2016-02-28 19:14:10 +08:00
Jakub Roztocil
8c33e5e3d3 Parser => HTTPieArgumentParser 2016-02-28 19:01:54 +08:00
Jakub Roztocil
10da7b63a3 Mention MacPorts installation method
Closes #395
2016-02-28 16:54:33 +08:00
Jakub Roztocil
df193a373f Updated tarball URL 2016-02-28 16:20:19 +08:00
Jakub Roztocil
c2f8c36952 Updated download example URLs 2016-02-28 16:19:18 +08:00
Jakub Roztocil
56f498c153 Detect Content Type of file uploaded in multipart/form-data request
Closes #271 #285 #398

This adds filename-based detection. It's still not possible to specify the
content type manually, though.
2016-02-28 15:49:01 +08:00
Marcin Szewczyk
59e22b16b8 When possible, guess the content-type of the file being sent
Refined PR #285 by rasky to pass all tests
2016-02-28 15:47:43 +08:00
Jakub Roztočil
d32d6f29a9 Typo 2016-02-17 14:53:00 +08:00
Jakub Roztocil
274dddfb45 Changed the default color style back to solarized
Closes #440
2016-02-17 14:46:35 +08:00
Michael Floering
deb7b747cc Small fix for Python 2.6 compatibility.
Relates to #430 / #432.
2016-01-22 18:46:36 -06:00
Michael Floering
018e1f68de Merge remote-tracking branch 'upstream/master' 2016-01-22 18:40:53 -06:00