Commit Graph

384 Commits

Author SHA1 Message Date
Carlo Sciolla
c4627cc882
Custom file upload MIME type (#927)
* Support curl-like syntax for custom MIME type for files

In order to specify a custom MIME type for file uploads, a syntax
similar to that used by cURL is used so that

http -F test_file@/path/to/file.bin;type=application/zip https://...

forwards the user-provided file type if provided, otherwise falling
back to the usual guesswork out of the file extension.
2020-06-08 17:59:41 +02:00
Jakub Roztocil
492687b0da Add stable docs link icon 2020-05-28 14:30:56 +02:00
Jakub Roztocil
caeef2fb7c Use : instead of = in `--format-options 2020-05-28 14:24:15 +02:00
Jakub Roztocil
c2a0cef76e Add --format-options to allow disabling sorting, etc.
#128
2020-05-27 16:01:17 +02:00
Jakub Roztocil
165dc36f8d Add examples 2020-05-23 13:38:28 +02:00
Jakub Roztocil
5df3a91619 Add examples 2020-05-23 13:37:47 +02:00
Jakub Roztocil
7dbceafc01 Add docs for the https command alias 2020-05-23 13:34:59 +02:00
Jakub Roztocil
d62d6a77d1 Add support for --ciphers (#870) 2020-05-23 13:26:06 +02:00
Jakub Roztocil
7b676dd583 Update ~/.httpie references to ~/.config/httpie 2020-05-21 15:56:53 +02:00
Ash Holland
5af0874ed3
Support (part of) the XDG Base Directory Specification (#920)
On Unix-like systems, the configuration file now lives in
$XDG_CONFIG_HOME/httpie/ by default, not ~/.httpie/ (the behaviour on
Windows is unchanged). The previous location is still checked, in order
to support existing installations.

Searching $XDG_CONFIG_DIRS is still not supported.

Fixes #145; supersedes #436.
2020-05-21 15:50:00 +02:00
Jakub Roztocil
b2044fc18d
Update README.rst 2020-04-24 12:15:19 +02:00
Jakob Krigovsky
e83e275dff
Fix spelling of “GitHub” (#899) 2020-04-20 17:45:51 +02:00
Jakub Roztocil
70a78249c1 2.1.0
#488 #840 #895
2020-04-18 12:54:40 +02:00
Jakub Roztocil
3af5f1f305 Add an --offline example 2020-04-16 11:47:56 +02:00
Jakub Roztocil
770976a66e Add --path-as-is docs 2020-04-16 11:29:58 +02:00
Jakub Roztocil
29b692d597 Add --offline mode docs 2020-04-16 11:29:33 +02:00
Jakub Roztocil
4f32b76223 Readme WIP 2020-04-15 18:07:43 +02:00
Jakub Roztocil
cdf691c212
Change default JSON Accept to application/json, */*;q=0.5
Close #488
2020-04-13 22:12:06 +02:00
Doug Beney
14fe7dbb27
apt (#890)
Co-authored-by: Doug Beney <contact@dougie.io>
2020-04-13 18:15:16 +02:00
Jakub Roztocil
c73858b9c3 Update examples 2020-03-27 10:03:30 +01:00
Jakub Roztocil
7340b2b64d Update --download doc 2020-03-27 10:03:30 +01:00
Jakub Roztocil
5d628756ab Update Python version info 2020-01-12 11:00:25 +01:00
Jakub Roztocil
f1ab816ecd Tweak querystring parameters doc 2019-12-03 12:23:33 +01:00
onnadi-sa
ab2bda3ffe Fix typo (#808) 2019-12-02 18:04:52 +01:00
Jakub Roztocil
f202f338a4 Remove automatic config file creation to avoid concurrency issues.
Close #788
Close #812
2019-12-02 17:43:16 +01:00
Jakub Roztocil
85da430d16 codecov 2019-09-18 11:09:46 +02:00
Jakub Roztocil
0252c2642e Build badge 2019-09-10 14:24:55 +02:00
Jakub Roztocil
b53ace480a Build on push via GitHub Actions 2019-09-10 14:18:06 +02:00
Jakub Roztocil
79b0f65fef Build on push via GitHub Actions 2019-09-10 14:14:39 +02:00
Jakub Roztocil
3ea75a3577 Document $ALL_PROXY support (close #676)
It’s been supported by python-requests since v2.11.0 (2016-08-08)

d79024f246/HISTORY.md (2110-2016-08-08)
2019-08-31 12:31:32 +02:00
Jakub Roztocil
1dc67a6a38 Allow bypassing .netrc with --ignore-netrc (close #730) 2019-08-31 12:09:17 +02:00
Jakub Roztocil
63df735fef Update links to HTTPS 2019-08-30 10:07:01 +02:00
Jakub Roztocil
ced9212c1f Allow stdin to be a closed fd #791 2019-08-29 13:39:42 +02:00
Jakub Roztocil
8e04a24b90 Reintroduce $ https command alias with https:// as default scheme
Close #608
2019-08-29 13:08:02 +02:00
Jakub Roztocil
2deaccf2d1 README 2019-08-29 10:21:13 +02:00
Jakub Roztocil
46c4f4e225 README 2019-08-29 10:20:45 +02:00
Jakub Roztocil
2d16494845 README 2019-08-29 10:16:39 +02:00
Jakub Roztocil
05fc9c480a Remove the default 30-second connection timeout limit 2019-08-29 09:57:00 +02:00
Jakub Roztocil
a969013bdd Disable default max headers limit and add --max-headers (closes #802) 2019-08-29 09:39:19 +02:00
Jakub Roztocil
b3d2c1876e Python 2.7 support removal WIP 2019-08-29 08:53:56 +02:00
Jakub Roztocil
fa96041ec8
Update README.rst 2019-08-28 11:05:07 +02:00
Jakub Roztocil
fd6e87914c README 2019-06-24 12:36:08 +02:00
Jakub Roztocil
df36d6255d Changed the way the output filename is generated
When ``--download`` without ``--output`` results in a redirect,
now only the initial URL is considered, not the final one.
2019-06-24 12:20:09 +02:00
Harkirat Singh
fd44f1af93 Updated Readme to fix a typo (#767) 2019-04-10 13:21:37 +02:00
Jakub Roztocil
b6309547d5 Add a bash here string example 2019-03-11 08:41:24 +01:00
Jakub Roztocil
b7c8bf0800 Add animation by @loranallensmith 2019-02-03 15:27:17 +01:00
Jakub Roztocil
d1407baf76 Add make pdf 2018-11-14 13:06:10 +01:00
Vladimir Berkutov
a7d570916d #722: Add support for tls1.3 (#724)
* #722: Add support for tls1.3

* #722: Document the potential support for tls1.3
2018-11-02 14:57:53 +01:00
Ankit R. Gadiya
91961c6b51 Fixed some lines (#723) 2018-10-31 19:17:44 +01:00
0xflotus
55530c8c6d fixed output for escaping rules (#700) 2018-09-03 20:04:18 +02:00