Commit Graph

1633 Commits

Author SHA1 Message Date
Vladimir Berkutov
bca36f0464 Issue #54 Method suggestion proposal 2012-06-17 21:46:56 +04:00
Vladimir Berkutov
78fff98712 Issue #54 Method suggestion proposal 2012-06-16 20:08:31 +04:00
Jakub Roztocil
e06c448a75 README improvements. 2012-06-15 17:32:45 +02:00
Jakub Roztocil
9cdbd6b0ec Added a Contribute section to README. 2012-06-15 17:13:40 +02:00
Jakub Roztocil
cbc6d02127 Fixed --verbose --form.
Closes #53
2012-06-15 16:47:55 +02:00
Jakub Roztocil
284a75fa2f Merge pull request #51 from msabramo/testing
Added support for tox (http://tox.testrun.org/)
2012-06-13 07:48:09 -07:00
Marc Abramowitz
b3ea273a21 Add "pypy" to .travis.yml 2012-06-13 07:36:51 -07:00
Marc Abramowitz
0d129d5f69 Add tox.ini for tox (http://tox.testrun.org/) 2012-06-13 07:18:12 -07:00
Marc Abramowitz
1388206f1a Fix path to tests.py in setup.py to make python setup.py test work 2012-06-13 07:18:11 -07:00
Jakub Roztocil
28dbe9f76c Bump version to 0.2.2dev. 2012-06-13 16:02:30 +02:00
Jakub Roztocil
a0700c41ad 0.2.1 2012-06-13 16:01:23 +02:00
Jakub Roztocil
e175fe9d0e Ensured a new line after the request message in the output. 2012-06-13 15:32:02 +02:00
Jakub Roztocil
d544ec3823 Made --verbose work also with requests<0.12.1. 2012-06-13 15:25:05 +02:00
Jakub Roztocil
6cf2910de0 Version bump to 0.2.1dev. 2012-06-13 15:24:48 +02:00
Jakub Roztocil
f64eb09571 Merge pull request #50 from dair-targ/master
Fixed --verbose flag for newer requests.
2012-06-13 06:14:12 -07:00
Jakub Roztocil
126130455e Merge pull request #45 from gandaro/pygments-lexers
Use the Pygments HTTP and JSON lexers
2012-06-13 06:09:11 -07:00
Vladimir Berkutov
70b3658004 --verbose flag was not working. Here is bugfix. 2012-06-02 23:14:21 +04:00
Jakob Kramer
d89eeb0796 PEP-8 2012-04-28 14:18:59 +02:00
Jakob Kramer
bced559496 use PrettyHttp class; working --headers and --body 2012-04-28 14:16:47 +02:00
Jakob Kramer
4aa86cb438 Use the full capability of HttpLexer 2012-04-26 14:48:38 +02:00
Jakob Kramer
2d7f2c65a2 Use the Pygments HTTP and JSON lexers 2012-04-26 13:05:59 +02:00
Jakub Roztocil
3d11042772 Fixed classifiers in setup.py. 2012-04-25 02:16:10 +02:00
Jakub Roztocil
b8cc7c205c Updated README. 2012-04-25 02:13:39 +02:00
Jakub Roztocil
3a96706e18 0.2.0 2012-04-25 02:11:19 +02:00
Jakub Roztocil
7910269996 Updated README and docs. 2012-04-25 02:10:58 +02:00
Jakub Roztocil
c5b1aaaa28 Major clean-up and refactoring. 2012-04-25 01:32:53 +02:00
Jakub Roztocil
67d6426360 Fixed several unicode-related issues
Closes #31 Python 3 & non-ascii arguments => UnicodeEncodeError
Closes #41 Unicode response error.
Closes #42 UnicodeEncodeError when piping Unicode output
2012-04-25 00:08:40 +02:00
Jakub Roztocil
29e594daaf Merge pull request #44 from jakebasile/master
Escaping separators
2012-04-24 07:25:17 -07:00
Jake Basile
90af1f7422 Fixed escaping for long separators. 2012-04-18 18:18:00 -05:00
Jake Basile
16df8848e8 Removed accidentally included old funky code. 2012-04-16 20:47:13 -05:00
Jake Basile
c29981c633 Added ability to escape parameters... except for the := ones. 2012-04-16 20:28:08 -05:00
Jakub Roztocil
6db93b25d8 Merge pull request #43 from jakebasile/master
-j/--json sets Accept header
2012-04-14 14:21:08 -07:00
Jake Basile
45ce446017 -j/--json now adds "Accept": "application/json" to GET requests if no previous Accept header exists. 2012-04-14 14:13:53 -05:00
Jakub Roztocil
4da3821bc4 Lowered the minimum version of requests required
So that the Debian package works out of the box:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=663506
2012-04-11 22:21:11 +02:00
Jakub Roztocil
0c4c6c4753 Added --auth-type and tests for basic/digest auth.
Closes #38.
2012-04-11 13:56:25 +02:00
Jakub Roztocil
ee598d304d Merge branch 'digest-auth' of https://github.com/dshafik/httpie into dshafik-digest-auth 2012-04-11 13:16:26 +02:00
Jakub Roztocil
c6c1489212 Refactored @mmb's fix to --verify; updated docs.
Closes #32.
2012-04-11 12:46:08 +02:00
Matthew M. Boedicker
71d21d1feb make --verify no command line argument work 2012-04-05 12:55:05 -04:00
Davey Shafik
153663cb92 Add support for Digest authentication 2012-03-22 10:51:33 -04:00
Jakub Roztocil
1c5fd18465 Python 3 fixes (travis config). 2012-03-15 00:31:12 +01:00
Jakub Roztocil
ab23037582 Python 3 fixes. 2012-03-15 00:28:15 +01:00
Jakub Roztocil
3dbb61a8ca Added argparse for Python 3.1. 2012-03-15 00:22:29 +01:00
Jakub Roztocil
51aa0409e6 Added Python 3 support
Closes #11.
2012-03-15 00:13:11 +01:00
Jakub Roztocil
1f49900db6 Improved README. 2012-03-14 22:55:09 +01:00
Jakub Roztocil
e2e749b2a6 Improved request formatting. 2012-03-14 22:45:35 +01:00
Jakub Roztocil
ccbea8c96e Assume "/" as the Request-URI for printing when none present. 2012-03-14 19:30:12 +01:00
Jakub Roztocil
6a1f0248e1 Fixed tests. 2012-03-14 19:21:47 +01:00
Jakub Roztocil
b7e0473d6c Added file upload support
It is now possible to send multipart/form-data requests.

Note that the --file option used previously has been removed
because it didn't allow you specify the field name.

Example:

    http -f POST example.com field-name@/path/to/file
2012-03-14 19:14:37 +01:00
Jakub Roztocil
578acacdf3 Added a --verbose / -v flag
When set, the whole request as well as the response is printed. Shortcut for --print=HBhb.
2012-03-14 11:15:21 +01:00
Jakub Roztocil
ed888a2657 Made sure request Host is correct when printing. 2012-03-14 01:12:10 +01:00