Jakub Roztocil
0572158ba1
Added exit codes for HTTP 3xx, 4xx, 5xx (3, 4, 5).
...
Also added `--ignore-http-status` to ensure 0 exit status.
HTTP 3xx result in 0 exit status when `--allow-redirects` is set.
2012-07-23 19:40:50 +02:00
Jakub Roztocil
0a673613ef
Fixed colorama initialization ( #36 ).
2012-07-21 15:08:28 +02:00
Jakub Roztocil
ced6e33230
Fixed tests.
2012-07-21 03:22:47 +02:00
Jakub Roztocil
87042f65c9
Added models.Environment()
.
...
Refactoring and general cleanup.
2012-07-21 03:14:01 +02:00
Jakub Roztocil
57fc606f6b
Changed default --print to "b" if stdout piped.
...
If the output is piped to another program or redirected to a file,
the new default behaviour is to only print the response body.
(It can still be overriden via the ``--print`` flag.)
2012-07-20 23:43:04 +02:00
Jakub Roztocil
16f23d8147
Improved highlighting of HTTP headers.
...
Closes #60 .
2012-07-20 21:58:41 +02:00
Jake Basile
76a3125153
Updated documentation for query string params.
2012-07-18 21:16:33 -05:00
Jake Basile
06ea36aaa4
Added the ability to pass query string parameters.
2012-07-18 20:44:09 -05:00
Jakub Roztocil
c2d70e2bb1
Clean up.
2012-07-17 07:01:30 +02:00
Jakub Roztocil
2dba176aa8
Added support for terminal colors under Windows.
...
Tested on Python 2.7 under Windows 7 with PowerShell and cmd.exe.
Closes #36
2012-07-17 04:06:13 +02:00
Jakub Roztocil
533a662651
0.2.6dev
2012-07-17 01:39:30 +02:00
Jakub Roztocil
1ce02ebbd5
0.2.5 (bugfixes)
2012-07-17 01:39:02 +02:00
Jakub Roztocil
f29c458611
Python 3 fixes.
2012-07-17 01:26:21 +02:00
Jakub Roztocil
2d7df0afb4
Fixed AttributeError in Content-Type vendor removal.
2012-07-17 01:11:43 +02:00
Jakub Roztocil
16a7d0a719
Fixed accidentally remove __licence__.
2012-07-17 01:11:01 +02:00
Jakub Roztocil
f42ee6da85
0.2.5dev
2012-07-17 00:45:20 +02:00
Jakub Roztocil
deeb7cbbac
0.2.4 (bad upload of 0.2.3 to pypi).
2012-07-17 00:44:25 +02:00
Jakub Roztocil
12f2fb4a92
Merge branch 'master' of github.com:jkbr/httpie
2012-07-17 00:38:41 +02:00
Jakub Roztocil
489bd64295
0.2.4dev
2012-07-17 00:37:53 +02:00
Jakub Roztocil
9b8cb42efd
0.2.3
2012-07-17 00:37:13 +02:00
Jakub Roztocil
2036337a53
Merge pull request #69 from jokull/master
...
Prettify vendor+json and vendor+xml Content-Type responses
2012-07-16 15:27:50 -07:00
Oleg Churkin
5a82c79fdf
Now non-ascii symbols displayed correctly in the output (not as escape sequences).
2012-07-17 00:08:52 +02:00
Jakub Roztocil
05b321d38f
Better wording.
2012-07-17 00:06:13 +02:00
Jakub Roztocil
681b652bf9
Allow stdin data with password prompt; added tests
...
Closes #70
2012-07-16 23:41:27 +02:00
Ismail Badawi
929ead437a
Have --auth prompt for password if omitted.
2012-07-16 04:40:36 -04:00
Jökull Sólberg Auðunsson
36de166b28
Simplify vendor extension content-types since they are most likely lexable
2012-07-14 14:27:11 +00:00
Cemal Eker
cb7ead04e2
Added omitted query string data to request headers.
2012-07-14 03:37:24 +03:00
Jakub Roztocil
6ab03b21b4
Fixed Content-Type for requests with no data.
...
Closes #62 .
2012-07-04 01:39:21 +02:00
Jakub Roztocil
50196be0f2
Added support for request payload from a filepath
...
Content-Type is detected from the filename.
Closes #57 .
2012-06-29 00:45:31 +02:00
Jakub Roztocil
3179631603
0.2.3dev
2012-06-24 16:45:01 +02:00
Jakub Roztocil
2f7921091c
0.2.2
2012-06-24 16:43:03 +02:00
Jakub Roztocil
926d3f5caf
Tests, docs, clean-up.
...
Closes #54 .
2012-06-24 03:45:21 +02:00
Jakub Roztocil
4613d947a8
Default to POST also when stdin redirected.
...
+clean up
2012-06-24 01:25:30 +02:00
Vladimir Berkutov
0e1affbbc4
Issue #54 Method suggestion proposal
2012-06-17 22:15:07 +04:00
Vladimir Berkutov
d920f20847
Issue #54 Method suggestion proposal
2012-06-17 22:11:26 +04:00
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
cbc6d02127
Fixed --verbose --form.
...
Closes #53
2012-06-15 16:47:55 +02: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
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
3a96706e18
0.2.0
2012-04-25 02:11:19 +02:00