1
0
mirror of https://github.com/httpie/cli.git synced 2024-11-24 08:22:22 +02:00
Commit Graph

184 Commits

Author SHA1 Message Date
Jakub Roztocil
bc756cb6a2 Cleanup 2013-04-27 11:57:13 -03:00
Graeme West
dac79a8efc Added example for .netrc usage (see issue #139 in upstream. 2013-04-17 16:32:55 +01:00
Jakub Roztocil
6c3b983c18 Tests 2013-04-15 00:56:47 -03:00
Jakub Roztocil
5a1177d57e Fixed downloads with no Content-Length. 2013-04-13 14:50:46 -03:00
Jakub Roztocil
c63a92f9b7 Cleanup 2013-04-12 22:02:34 -03:00
Jakub Roztocil
d17e02792b Fixed length progress bar. 2013-04-12 21:49:27 -03:00
Jakub Roztocil
e8d79c4d8c Docs fix. 2013-04-12 11:37:58 -03:00
Jakub Roztocil
38206e9e92 Cleanup 2013-04-12 11:26:42 -03:00
Jakub Roztocil
55d5e78324 --download docs (#104). 2013-04-12 11:06:03 -03:00
Jakub Roztocil
7ccdece39f Cleanup 2013-04-11 04:00:41 -03:00
Jakub Roztocil
b0dd463687 Corrected session info in the README. 2013-03-22 16:26:51 -03:00
Jakub Roztocil
8e6c765be2 Initial --download implementation (#104).
Closes #127
2013-03-03 22:17:09 -03:00
Jakub Roztocil
f0c42cd089 v0.4.1 2013-02-26 14:37:09 +01:00
Jakub Roztocil
2bed81059a Updated README. 2013-02-22 14:04:27 +01:00
Jakub Roztocil
be0b2f21d2 v0.4.0 2013-02-22 13:52:50 +01:00
Jakub Roztocil
d97a610f7c Added new logo by @claudiatd 2013-02-22 13:51:37 +01:00
Jakub Roztocil
5cc5b13555 Removed the management command.
It means that:

    httpie session list
    httpie session edit
    ...

are gone.

It has never been part of a stable release, and since it wasn't
a very useful feature, it's beeing removed now to avoid feature creep.
2013-02-22 13:27:26 +01:00
Jakub Roztocil
4c45f0d91f Session name escaping. 2013-01-22 20:02:39 +01:00
Jakub Roztocil
a93d57b58b Fixed request/response session cookies.
Closes #113.
2013-01-04 02:59:05 +01:00
Jakub Roztocil
d84d94dd55 Clean up 2013-01-03 13:49:41 +01:00
Jakub Roztocil
fe16f425a9 Require Requests v1.0.3. 2012-12-19 12:31:01 +01:00
Jakub Roztocil
291f520e0c Update README.rst 2012-12-17 12:26:57 +01:00
Jakub Roztocil
9ec328ff6f Session commands. 2012-12-11 12:54:34 +01:00
Jakub Roztocil
8190a7c0c6 Fixed httpie session list 2012-12-05 04:36:42 +01:00
Jakub Roztocil
4a615e762f Updated session docs. 2012-12-01 18:43:33 +01:00
Jakub Roztocil
7426b4b493 RST formatting. 2012-12-01 18:26:15 +01:00
Jakub Roztocil
2cdcadd9d5 Added docs for httpie. 2012-12-01 18:25:34 +01:00
Jakub Roztocil
18510a9396 Progress on httpie session *. 2012-12-01 18:16:00 +01:00
Jakub Roztocil
2cf379df78 Fixed README typo. 2012-12-01 16:20:16 +01:00
Jakub Roztocil
444a9fa929 Added httpless to README. 2012-12-01 15:54:36 +01:00
Jakub Roztocil
4a24cd25b9 Clean up. 2012-12-01 15:20:14 +01:00
Jakub Roztocil
466e1dbedf Updated CHANGELOG (#100). 2012-11-08 22:39:28 +01:00
Jakub Roztocil
d87b2aa0e5 Added support for credentials in URL.
Closes #100 🍰
2012-11-08 22:29:54 +01:00
Jakub Roztocil
5d969852c7 Added --no-option's and made args more config-friendly. 2012-09-24 06:49:12 +02:00
Jakub Roztocil
bbc702fa11 Improved README. 2012-09-24 05:59:52 +02:00
Jakub Roztocil
e25d64a610 0.3.0 2012-09-21 05:50:01 +02:00
Jakub Roztocil
a41dd7ac6d Allow output redirection on Windows.
Closes #88.
2012-09-21 04:30:59 +02:00
Jakub Roztocil
4a6f32a0f4 Documented config.
Also renamed `default_content_type` to `implicit_content_type` .
2012-09-17 03:08:45 +02:00
Jakub Roztocil
478d654945 Renamed --session-read to --session-read-only. 2012-09-17 00:01:49 +02:00
Jakub Roztocil
316e3f45a9 Added --session-read for read-only sessions. 2012-09-07 12:38:52 +02:00
Jakub Roztocil
da0eb7db79 Renamed --allow-redirects to --follow. 2012-09-07 11:58:39 +02:00
Jakub Roztocil
47de4e2c9c Sessions are now host-bound. 2012-08-19 04:58:14 +02:00
Jakub Roztocil
f74424ef03 README 2012-08-18 23:11:56 +02:00
Jakub Roztocil
8a9cedb16e JSON session data, `httpie' management command. 2012-08-18 23:07:36 +02:00
Jakub Roztocil
ff9f23da5b Grouped arguments for a more user-friendly --help. 2012-08-18 06:12:44 +02:00
Jakub Roztocil
d3df59c8af Updated README. 2012-08-17 23:35:36 +02:00
Jakub Roztocil
2057e13a1d Updated README. 2012-08-17 23:35:06 +02:00
Jakub Roztocil
4957686bcd Updated README. 2012-08-17 23:34:42 +02:00
Jakub Roztocil
4c0d7d526f Added initial support for persistent sessions. 2012-08-17 23:30:47 +02:00
Jakub Roztocil
0b3bad9c81 Added initial support for persistent sessions. 2012-08-17 23:23:02 +02:00
Jakub Roztocil
1ed43c1a1e Semver-compatible versioning. 2012-08-17 21:24:34 +02:00
Jakub Roztocil
bf03937f06 Unified output processing options under --pretty.
* --pretty=none instead of --ugly
* --pretty=all instead of --pretty
* --pretty=colors instead of --colors
* --pretty=format instead of --format
2012-08-17 21:15:37 +02:00
Jakub Roztocil
4660da949f Fixed colorized output on Windows with Python 3.
Closes #87.
2012-08-17 06:35:18 +02:00
Jakub Roztocil
86256af1df Removed non-ASCII characters from README (closes #85). 2012-08-16 18:47:30 +02:00
Jakub Roztocil
9098e5b6e8 Updated changelog. 2012-08-12 06:02:13 +02:00
Jakub Roztocil
27f08920c4 Improved examples. 2012-08-09 23:36:29 +02:00
Jakub Roztocil
c01dd8d64a Added exit status for timed-out requests. 2012-08-09 05:24:58 +02:00
Jakub Roztocil
76feea2f68 Added README reStructuredText validation. 2012-08-07 17:20:50 +02:00
Jakub Roztocil
22a10aec4a Added --colors and --format.
Closes #59 and #82.
2012-08-07 16:59:49 +02:00
Jakub Roztocil
fa334bdf4d Documented --verify. 2012-08-07 15:25:24 +02:00
Jakub Roztocil
07de32c406 Version fix. 2012-08-07 15:01:04 +02:00
Jakub Roztocil
193683afbb Added proxy docs. 2012-08-07 14:49:43 +02:00
Jakub Roztocil
126b1da515 v0.2.8dev 2012-08-07 00:13:27 +02:00
Jakub Roztocil
969b310ea9 v0.2.7 2012-08-07 00:12:47 +02:00
Jakub Roztocil
dd2c89412c Compatibility with Requests 0.13.6. 2012-08-07 00:07:04 +02:00
Jakub Roztocil
381e60f9d8 Extended README. 2012-08-06 23:27:49 +02:00
Jakub Roztocil
747b87c4e6 Changelog, typos 2012-08-04 16:46:39 +02:00
Jakub Roztocil
c7657e3c4b Streamed terminal output
`--stream` can be used to enable streaming also with `--pretty` and to ensure
a more frequent output flushing.
2012-08-04 16:35:31 +02:00
Jakub Roztocil
e045ca6bd8 Cleanup, CHANGELOG 2012-08-01 23:51:30 +02:00
Jakub Roztocil
52e46bedda Take advantage of streaming.
It's now possible to download huge files with HTTPie, and it's often faster than curl and wget!
2012-08-01 23:21:52 +02:00
Jakub Roztocil
67ad5980b2 Don't fetch the response body unless needed.
E.g., this will only read the response headers but won't download the
whole file:

    http GET --headers example.org/big-file.avi

The request method is respected (i.e., it doesn't switch to HEAD like
cURL does).
2012-08-01 21:31:06 +02:00
Jakub Roztocil
8905b4fc72 cleanup 2012-07-30 14:23:22 +02:00
Jakub Roztocil
a5b98818c8 Syntax-highlighting for examples in the README. 2012-07-30 13:58:13 +02:00
Jakub Roztocil
5e7bb1f6dc Syntax-highlighting for examples in the README. 2012-07-30 13:51:28 +02:00
Jakub Roztocil
a1682d0d2e Added AUTHORS 2012-07-30 12:10:19 +02:00
Jakub Roztocil
923a8b71bd Revorked output
Binary now works everywhere. Also added `--output FILE` for Windows.
2012-07-30 10:58:16 +02:00
Jakub Roztocil
f5bc081fda Send filenames with multipart/form-data file uploads. 2012-07-28 13:24:44 +02:00
Jakub Roztocil
098e1d3100 Fixed multipart requests output; binary support.
* Bodies of multipart requests are correctly printed (closes #30).
* Binary requests and responses should always work (they are also suppressed
  for terminal output). So things like this work::

     http www.google.com/favicon.ico > favicon.ico
2012-07-28 05:50:12 +02:00
Jakub Roztocil
a8ddb8301d Default to https:// if invoked as `https'. 2012-07-27 18:08:33 +02:00
Jakub Roztocil
a770d79aef v0.2.7dev 2012-07-26 10:03:34 +02:00
Jakub Roztocil
b53d483163 v0.2.6 2012-07-26 09:58:31 +02:00
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
26a76e8243 Clean-up 2012-07-26 00:50:39 +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
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
19f760450f Use local httpbin for all tests if available. 2012-07-21 14:37:05 +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
Jake Basile
76a3125153 Updated documentation for query string params. 2012-07-18 21:16:33 -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