Commit Graph

418 Commits

Author SHA1 Message Date
Jakub Roztocil
dd0a4ab87a Default --style to "monokai"
419ca85
2015-02-14 22:51:31 +01:00
Jakub Roztocil
419ca85e62 The default color --style is now "fruity"
It's experimental - please let me know should you dislike this change.

To make Solarized default again, add this to your ~/.config.json:

  "default_options": [
    "--style=solarized"
  ],
2015-02-14 18:18:04 +01:00
Jakub Roztocil
596fdc8c7e Update README examples with the new default Accept-Encoding value used by Requests. 2015-02-14 17:55:34 +01:00
Jakub Roztocil
6e7e2f2eea Changed the default JSON Content-Type to application/json. 2015-02-14 17:45:15 +01:00
Jakub Roztocil
337c05f95c README 2015-02-07 18:06:49 +01:00
Jakub Roztocil
753a8d04e4 v0.9.1 2015-02-07 17:04:13 +01:00
Jakub Roztocil
0d21ff022e Added a link to @pd's httpie-api-auth plugin 2015-02-06 20:06:50 +01:00
Jakub Roztocil
92a4352f10 Added a coveralls badge. 2015-01-31 17:49:48 +01:00
Marc Abramowitz
17358be1ae README.rst: suppor => support 2015-01-31 07:01:54 -08:00
Jakub Roztocil
338d39c841 Fixed version link 2015-01-31 13:23:52 +01:00
Jakub Roztocil
530d6c5e27 1.0.0-dev 2015-01-31 13:22:17 +01:00
Jakub Roztocil
6c66d91f59 v0.0.9 2015-01-31 13:21:45 +01:00
Jakub Roztocil
ed6485498b README 2015-01-24 00:41:22 +01:00
Jakub Roztocil
59b6020105 Extended SSL documentation. 2015-01-24 00:22:31 +01:00
Jakub Roztocil
df07927843 --certkey is now --cert-key 2015-01-23 23:54:27 +01:00
Jakub Roztocil
0481957715 Fixed multiple uploads with the same field name
Closes #267
2014-10-20 14:41:48 +02:00
Jakub Roztocil
24f46ff3ef Changelog 2014-09-08 07:50:41 +02:00
Jakub Roztocil
b0effe07d9 Fixed --output=/dev/null on Linux
Closes #252
2014-09-07 10:22:21 +02:00
Jakub Roztocil
af873effb6 Changelog typo. 2014-09-05 18:40:28 +02:00
Jakub Roztocil
5084f18568 '\' only escapes separator characters in req-items
It makes easier to work with Windows paths.

Closes #253, #254
2014-09-05 18:36:23 +02:00
Jakub Roztocil
ca36f1de04 Handle empty passwords in URL credentials
Closes #242
2014-07-18 13:39:47 +02:00
Jakub Roztocil
0f96348fd1 Cleanup 2014-07-18 13:39:47 +02:00
Alexis Metaireau
e3c83fca6f Add the hawk plugin 2014-07-17 00:48:56 +02:00
Jakub Roztocil
79329ed1c6 Mention "brew install httpie --HEAD". 2014-06-28 13:26:48 +02:00
Jakub Roztočil
a02a1eb562 Fixed README formatting 2014-06-24 17:27:01 +02:00
Jakub Roztočil
5e556612d9 Added $ brew install httpie to README
https://twitter.com/jakubroztocil/status/481453834024550400

Thanks @insomniacslk!
2014-06-24 17:25:29 +02:00
Rocky Meza
541c75ed5c Fixed the order of args to grep in README. 2014-06-15 08:14:37 -06:00
Felix Bünemann
f283de6968 Add info about SNI on Python 2.x to README
This updates the HTTPS section of the README with instructions on how to get SNI working on Python 2.x.
2014-05-26 15:31:16 +02:00
Jakub Roztocil
858555abb5 Make sure session and default headers play nice
Before: headers = default + args + session
Now:    headers = default + session + args

Fixes #180
2014-05-08 12:27:50 +01:00
Jakub Roztocil
d9eca19b8f New URL. 2014-05-05 21:17:23 +02:00
Jakub Roztocil
609950f327 Updated Travis icon URL. 2014-04-26 18:48:57 +02:00
Jakub Roztocil
e8a1c051f9 Changelog 2014-04-26 17:53:35 +02:00
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
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
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
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
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
5ca8bec9ff Add a note on pretty JSON and unicode to changelog
Closes #52
Closes #67
2012-07-17 00:22:39 +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
Simon Olofsson
c71de95505 Update README.rst and add links to Ubuntu and Debian Packages. 2012-07-11 16:32:00 +03: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
41d640920c Added more examples. 2012-06-25 14:50:49 +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
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
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
a0700c41ad 0.2.1 2012-06-13 16:01:23 +02:00
Jakub Roztocil
b8cc7c205c Updated README. 2012-04-25 02:13:39 +02:00
Jakub Roztocil
7910269996 Updated README and docs. 2012-04-25 02:10:58 +02:00
Jakub Roztocil
c6c1489212 Refactored @mmb's fix to --verify; updated docs.
Closes #32.
2012-04-11 12:46:08 +02:00
Jakub Roztocil
ab23037582 Python 3 fixes. 2012-03-15 00:28:15 +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
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
5e19e1b95d Added a "New in development version" link. 2012-03-14 00:58:05 +01:00
Jakub Roztocil
02622a4135 Added the option to print the request
It is now possible to print any combination of the following
request-response bits:

    - Request headers (H)
    - Request body (B)
    - Response headers (h)
    - Response body (b)

The output is controlled by the --print / -p option which
defaults to "hb" (i.e., response headers and response body).

Note that -p was previously shortcut for --prety.

Closes #29.
2012-03-14 00:44:13 +01:00
Jakub Roztocil
ccb2aaf94f Update README.rst 2012-03-05 02:54:34 +01:00
Jakub Roztocil
8cff0a3e67 Updated README. 2012-03-05 00:48:06 +01:00