Commit Graph

393 Commits

Author SHA1 Message Date
Syed
a448b0d928
Fix minor typos in the README and CONTRIBUTING docs (#956)
* Fix typo in CONTRIBUTING docs

* Fix minor typo in README (exists --> exits)
2020-07-16 22:47:39 +02:00
Katherine Bancroft
0541490dda
Add test to test auth plugin reused in session (#938)
* Add test to test auth plugin reused in session

* Remove unnecessary assertion in auth-plugin test

* Fixed auth test to use same session file

* Add test for password prompt behaviour in session

* Edit auth readme for plugin clarity
2020-07-10 12:48:26 +02:00
Jakub Roztocil
55d7af86fd Install requests[socks] by default for out of the box SOCKS support
Close #904
2020-06-19 00:56:30 +02:00
Andrew
978aace86c
Update README.rst (#737) 2020-06-19 00:25:29 +02:00
Jakub Roztocil
ecdeffe7c8 CHANGELOG + README 2020-06-18 23:23:10 +02:00
Katherine Bancroft
9500ce136a
Combine cookies from original request and session file
Close #932
Co-authored-by: kbanc <katherine.bancoft@gmail.com>
Co-authored-by: Gabriel Cruz <gabs.oficial98@gmail.com>
2020-06-18 23:17:33 +02:00
Jakub Roztocil
5945845420 v2.2.0 2020-06-18 22:20:12 +02:00
Jakub Roztocil
3ee5b49256
Update README.rst 2020-06-18 10:58:13 +02:00
Jakub Roztocil
bb024757b6 Clarify config docs 2020-06-16 13:33:14 +02:00
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