Commit Graph

809 Commits

Author SHA1 Message Date
Jakub Roztočil
6d14097844 Added travis-ci configuration. 2012-03-04 11:31:37 +01:00
Jakub Roztočil
8a4f501706 Fixed tests for Python 2.6. 2012-03-04 11:22:21 +01:00
Jakub Roztočil
6774998012 Updated README. 2012-03-04 11:22:09 +01:00
Jakub Roztočil
2195280a70 Added argument parsing tests. 2012-03-04 10:50:23 +01:00
Jakub Roztočil
f5d5ec22af Added --version. 2012-03-04 10:49:37 +01:00
Jakub Roztočil
b728710760 Factored out CLI parsing. 2012-03-04 10:49:17 +01:00
Jakub Roztočil
715e1b1047 Improved setup.py 2012-03-04 03:36:17 +01:00
Jakub Roztočil
ca8779d879 Merge branch 'main-module-convention' of https://github.com/gandaro/httpie into gandaro-main-module-convention
Renamed httpie.httpie to httpie.__main__ so that one can invoke it via python -m httpie.
2012-03-04 03:13:50 +01:00
Jakub Roztočil
5ff43b659f Fixed README. 2012-03-04 02:48:31 +01:00
Jakub Roztočil
b802f2b960 Added field-name:=raw-json
Closes #14
2012-03-04 02:44:30 +01:00
Jakub Roztočil
73d0f9cd56 Updated readme (--flags). 2012-03-04 01:59:00 +01:00
Jakub Roztočil
00312ead28 Refactored --pretty and added tests.
#16
2012-03-04 01:54:28 +01:00
Jakub Roztocil
d02ac54130 Merge pull request #16 from tictactix/master
Added a way to force pretty printing
2012-03-03 16:17:41 -08:00
Jakub Roztocil
81568cf91c Merge pull request #19 from faulkner/fix-readme
A few minor corrections to the README.
2012-03-03 15:37:02 -08:00
Jakub Roztocil
6df9ff67eb Merge pull request #17 from faulkner/fix-redirects
Pass allow_redirects to request so --allow-redirects works.
2012-03-03 15:36:43 -08:00
Chris Faulkner
5d3176115a Correct usage string in README. 2012-03-03 14:12:49 -08:00
Chris Faulkner
81798ad537 Typo. 2012-03-03 14:09:13 -08:00
Chris Faulkner
dd8faecbf7 Pass allow_redirects to request so --allow-redirects works. 2012-03-03 11:54:53 -08:00
Praful Mathur
58f74fe14a Force pretty printing (ignore last commit; stupid undo mistake) 2012-03-02 17:00:20 -05:00
Praful Mathur
84a0d4a35d Added forcing pretty printing for piping purposes. 2012-03-02 16:54:18 -05:00
Jakob Kramer
d670513c9f use the __main__ submodule convention to make it possible to use python -m httpie 2012-03-02 18:35:33 +01:00
Jakub Roztočil
860a851a4b Fixed a missing line between headers and body. 2012-03-02 09:02:50 +01:00
Jakub Roztočil
9634dca7d8 Fixed a UnicodeError in Python 2.6. 2012-03-02 02:36:21 +01:00
Jakub Roztočil
bb653bf1a9 Added first tests. 2012-03-02 01:42:23 +01:00
Jakub Roztočil
94c605fac1 Added --style
Closes #6. Thanks, @iromli.
2012-03-02 01:39:22 +01:00
Jakub Roztočil
3442a5d037 Made argparse required only for Python < 2.7.
Closes #7.
2012-03-01 23:21:44 +01:00
Jakub Roztocil
5cd40916fe Merge pull request #12 from tomekwojcik/master
Added argparse to install_requires
2012-03-01 14:18:36 -08:00
Jakub Roztocil
ed3a491c81 Merge pull request #10 from marblar/osx
Support for terminals not using 256 color
2012-03-01 14:11:11 -08:00
Tomek Wójcik
d768959084 * Added argparse to install_requires. 2012-03-01 09:02:48 +01:00
Mark Larus
f934f4345e Support for terminals not using 256 color
As documented in issue #8, the default terminal in OS X 10.6 is xterm-color, which does not support Formatter256Terminal
2012-02-29 15:39:56 -05:00
Isman Firmansyah
b752b59d92 remove unnecessary partial call 2012-02-29 21:35:20 +07:00
Isman Firmansyah
553941c98d added support to use other pygments styles, falback to solarized 2012-02-29 02:06:36 +07:00
Jakub Roztočil
1a88ae647e 0.1.4 2012-02-28 18:09:05 +01:00
Jakub Roztočil
0293ba1799 Do not assume UTF-8. 2012-02-28 18:06:21 +01:00
Jakub Roztocil
f90ae113e4 Merge pull request #2 from flashingpumpkin/master
Added Python 2.6 compatibility.
2012-02-28 08:54:59 -08:00
Alen Mujezinovic
6f9ad9e4e1 Revert "Not all web servers return UTF-8 and will crash httpie when decoding the response"
This reverts commit 2f569b901d.
2012-02-28 16:49:53 +00:00
Jakub Roztočil
ecf968388b Fixed __version__ and __doc__ import. Thanks, @FND. 2012-02-28 17:14:31 +01:00
Alen Mujezinovic
2f569b901d Not all web servers return UTF-8 and will crash httpie when decoding the response 2012-02-28 14:01:01 +00:00
Alen Mujezinovic
b567104267 Removed the lists in favour of generators 2012-02-28 13:33:33 +00:00
Jakub Roztočil
b0cebd68a1 Merge branch 'master' of github.com:jkbr/httpie 2012-02-28 13:50:27 +01:00
Jakub Roztočil
71b6b126c0 Fixed setup.py to work without having pygments already installed. Closes #1. 2012-02-28 13:49:58 +01:00
Alen Mujezinovic
f73aaa844f Syntax error fix 2012-02-28 10:51:13 +00:00
Jakub Roztocil
899513858a typo 2012-02-27 11:57:10 +01:00
Jakub Roztočil
258fc0cd5f Renamed the CLI tool http. 2012-02-27 11:54:41 +01:00
Jakub Roztočil
459c9f1a33 Added Solarized color scheme for Pygments by @gthank. 2012-02-26 16:22:04 +01:00
Jakub Roztočil
98e320a1a3 Added error handling. 2012-02-26 16:13:12 +01:00
Jakub Roztočil
4059dbc27a Fixed header formatting. 2012-02-26 01:43:44 +01:00
Jakub Roztočil
5653b9c6a0 Added --headers and --body to limit the output. 2012-02-26 01:37:28 +01:00
Jakub Roztočil
65a2fc7042 Update README.md 2012-02-25 20:37:33 +01:00
Jakub Roztočil
75e09a4ac1 Fixed README. 2012-02-25 16:59:37 +01:00