Commit Graph

286 Commits

Author SHA1 Message Date
Jakub Roztocil
5c29a4e551 Added windows build status icon to README. 2014-04-26 11:32:41 +02:00
Jakub Roztocil
492ee392bd Cleanup 2014-04-25 12:42:50 +02:00
Jakub Roztocil
887f70f595 Added CONTRIBUTING.rst. 2014-04-24 19:32:55 +02:00
Jakub Roztocil
6071fff4af Refactored tests into smaller modules. 2014-04-24 14:07:31 +02:00
Ben Beuchler
a2918d877d Update README.rst 2014-03-24 18:03:59 -05:00
Jakub Roztocil
76ab6e49d5 Updated installation instructions. 2014-03-04 18:44:31 +01:00
Jakub Roztocil
c33775e785 Updated installation instructions. 2014-03-04 18:42:33 +01:00
Jakub Roztocil
09810d55ba Updated installation instructions. 2014-03-04 18:36:22 +01:00
Jakub Roztocil
29877bc8ad Updated installation instructions. 2014-03-04 18:24:32 +01:00
Jakub Roztocil
af6bda11af Removed Bitdeli badge. 2014-02-18 14:09:50 +01:00
Matthias Lehmann
b3a34aba44 added --cert to CHANGELOG and matleh to AUTHORS 2014-02-12 11:23:31 +01:00
Matthias Lehmann
dd7197c60b document --cert and --certkey 2014-02-05 12:51:05 +01:00
Jakub Roztocil
43cc3e7ddb Fixed changelog link. 2014-01-25 15:15:16 +01:00
Jakub Roztocil
f1224da526 v0.8.0 2014-01-25 15:11:38 +01:00
Jakub Roztocil
e0cc63c7eb Cleanup 2014-01-25 15:09:28 +01:00
Jakub Roztocil
52dd6adaa3 Updated README. 2014-01-25 15:04:15 +01:00
Jakub Roztočil
748a0a480d Update README.rst 2014-01-17 08:57:05 +01:00
Jakub Roztočil
01df344a07 Update README.rst 2014-01-17 08:56:24 +01:00
Jakub Roztocil
6af42b1827 Added Bitdeli badge. 2013-12-08 11:38:26 +01:00
Jakub Roztocil
0e267d8efa Added a link to the httpie-negotiate auth plugin by @ndzou II. 2013-10-09 23:46:55 +02:00
Jakub Roztocil
927acc283e Added a link to the httpie-negotiate auth plugin by @ndzou. 2013-10-09 23:44:55 +02:00
Nathan LaFreniere
4fe3deb9d9 add self to authors, update changelog, and mention shorthand in --help output 2013-10-09 13:21:14 -07:00
Nathan LaFreniere
9034546b80 tweak readme more 2013-10-09 11:37:05 -07:00
Nathan LaFreniere
2c12fd99f9 tweak readme more 2013-10-09 11:36:01 -07:00
Nathan LaFreniere
70eb97dece tweak readme to show http requests 2013-10-09 11:34:22 -07:00
Nathan LaFreniere
8a52bef559 make shorthand parsing more robust, add unit tests and documentation 2013-10-09 11:32:41 -07:00
Jakub Roztocil
81c99886fd Update --proxy examples to include URLs to work with Requests v2.0.0.. 2013-09-25 22:02:29 +02:00
Jakub Roztocil
d5bc564e4f Allow embeding text (=@) and JSON (:=@) files content into request data fields. 2013-09-24 23:41:18 +02:00
Jakub Roztocil
54c5c3d82b 0.7.1 2013-09-24 21:57:29 +02:00
Jakub Roztocil
2a6514eb5d Update to requests 2.0.0
Closes #140.
2013-09-24 21:49:43 +02:00
Jakub Roztocil
87774acf5c Changelog 2013-09-24 20:09:23 +02:00
Jakub Roztocil
9d2ac5d8ad 0.7.0 2013-09-24 20:07:48 +02:00
Jakub Roztocil
29f6b6a2a9 Improved Content-Disposition parsing for --download mode
Closes #168.
2013-09-24 19:50:37 +02:00
Jakub Roztocil
354aaa94bd Improved .netrc example formatting. 2013-09-22 15:20:50 +02:00
Jakub Roztocil
2ad4059f92 Improved .netrc example formatting. 2013-09-22 15:19:59 +02:00
Jakub Roztocil
5a6b65ecc6 Added link to httpie-oauth. 2013-09-22 15:10:50 +02:00
Jakub Roztocil
2acb303552 Added support for auth plugins. 2013-09-21 23:46:15 +02:00
Jakub Roztocil
f7b703b4bf Added --ignore-stdin
Closes #150
2013-08-23 10:57:17 +02:00
Jakub Roztocil
f87884dd8d README 2013-08-01 08:46:37 +02:00
Lorin Hochstein
69247066dc Augment cookie example in README for multiple cookies
This change updates the README to show how to pass multiple cookies.
2013-07-31 10:29:38 -04:00
Jakub Roztocil
60f09776a5 httpless outputs also response headers by default 2013-06-03 12:28:04 +02:00
Jakub Roztocil
48719aa70e README 2013-06-03 12:22:34 +02:00
Jakub Roztocil
809a461a26 v0.6.0 2013-06-03 12:19:43 +02:00
Jakub Roztocil
172df162b3 Added XML formatting to CHANGELOG. 2013-06-02 20:27:58 +02:00
Jakub Roztocil
63b61bc811 Add custom Host example. 2013-05-20 15:31:02 +02:00
Jakub Roztocil
8e112a6948 test_download_no_Content_Length 2013-05-13 15:35:12 +02:00
Jakub Roztocil
87c59ae561 Added anonymous sessions (--session=/file/path.json). 2013-05-13 14:47:44 +02:00
Jakub Roztocil
5b9cbcb530 v0.5.1 2013-05-13 12:40:25 +02:00
Jakub Roztocil
8ad33d5f6a Changelog 2013-05-13 12:20:54 +02:00
Jakub Roztocil
86ac4cdb7b Changelog 2013-05-13 12:20:28 +02:00
Jakub Roztocil
e09b74021c Ignore Content-* and If-* request headers.
Those headers are not stored in sessions anymore.

Closes #141.
2013-05-13 11:54:49 +02:00
Jakub Roztocil
71e7061014 v0.5.0 2013-04-27 12:03:38 -03:00
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