Jakub Roztocil
f45cc0eec0
Added docstrings, refactored input.
2012-07-26 07:23:00 +02:00
Jakub Roztocil
f26f2f1438
Mention necessary quoting with :=
. #77
2012-07-26 03:24:58 +02:00
Jakub Roztocil
851412c698
Improved error messages.
2012-07-26 03:16:42 +02:00
Jakub Roztocil
26a76e8243
Clean-up
2012-07-26 00:50:39 +02:00
Jakub Roztocil
f5cfd0143b
Ensure that full querystring is printent with -v.
...
The `key==value` parameters weren't included in the Request-Line URL.
Also added tests.
2012-07-25 14:32:57 +02:00
Jakub Roztocil
9391c89205
Fixed RST formatting.
2012-07-24 17:22:04 +02:00
Jakub Roztocil
76ebe7c6db
Short option for --headers is now -h.
...
-t has been removed, for usage use --help
2012-07-24 17:17:26 +02:00
Jakub Roztocil
7af08b6faa
Allow multiple fields with the same name.
...
Applies to form data and URL params:
http -f url a=1 a=2
http url a==1 a==2
2012-07-24 17:00:02 +02:00
Jakub Roztocil
9944def703
Switched to "==" a the separator for URL params.
...
Also refactored item escaping.
2012-07-24 14:56:53 +02:00
Jakub Roztocil
728a1a195b
Updated changelog.
2012-07-24 01:17:07 +02:00
Jakub Roztocil
2646ebaaed
Replaced --ignore-http-status with --check-status.
...
The default behaviour now is to exit with 0 on HTTP errors
unless --check-status is set.
2012-07-24 01:09:14 +02:00
Jakub Roztocil
fba3912f2e
Fixed tests.
2012-07-23 19:49:38 +02:00
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
19f760450f
Use local httpbin
for all tests if available.
2012-07-21 14:37:05 +02:00
Jakub Roztocil
35da44309f
Undebug
2012-07-21 03:26:48 +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
c271715a98
Updated flags in README.
2012-07-20 23:51:05 +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
7d82b853ae
Updated installation instructions.
2012-07-20 22:09:53 +02:00
Jakub Roztocil
16f23d8147
Improved highlighting of HTTP headers.
...
Closes #60 .
2012-07-20 21:58:41 +02:00
Jakub Roztocil
ab7915d9e0
Updated changelog; added stable version README link.
2012-07-19 13:31:02 +03:00
Jakub Roztocil
1d6fcfff73
Merge pull request #72 from jakebasile/issue-61
...
Added Query String Parameters (param=:value).
2012-07-19 03:12:32 -07:00
Jake Basile
76a3125153
Updated documentation for query string params.
2012-07-18 21:16:33 -05:00
Jake Basile
24d6331d15
Added a bit of testing for the new query string parameters.
2012-07-18 21:16:08 -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
40948dbd2e
Updated changelog.
2012-07-17 04:20:37 +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
54e3e5bca4
README fixes.
2012-07-17 01:55:12 +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
8a7f4c0d6e
Fixed tests exist status.
2012-07-17 01:33:18 +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
0cffda86f6
0.2.5dev
2012-07-17 00:47:42 +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
Jakub Roztocil
5ca8bec9ff
Add a note on pretty JSON and unicode to changelog
...
Closes #52
Closes #67
2012-07-17 00:22:39 +02:00
Oleg Churkin
df79792fd9
Added test case to verify unicode output
2012-07-17 00:09:01 +02: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
85b3a016eb
Update README with new --auth behavior.
2012-07-16 04:50:25 -04:00