Commit Graph

440 Commits

Author SHA1 Message Date
Jakub Roztocil
dc4309771e Mention 308 Permanent Redirect 2021-06-15 14:59:24 +02:00
Jakub Roztocil
07a0359316
Final touches for #1088 (#1091)
* Make sure there’s no trailing \n in test files for easier output inspection

* Refactor output matching test utils

* More robust `test_http_307_allow_redirect_post_verbose()`

* Changelog

* Mention HTTP 307 Temporary Redirect re-post behaviour in README
2021-06-15 14:48:44 +02:00
Jakub Roztocil
39314887c4 README 2021-05-24 15:00:01 +02:00
Jakub Roztocil
f9a488d47e README 2021-05-24 14:40:08 +02:00
Mickaël Schoentgen
0001297f41
Add --raw to allow specifying the raw request body as an alternative to stdin (#1062)
* Add --raw to allow specifying the raw request body without extra processing

As an alternative to `stdin`.

Co-authored-by: Elena Lape <elapinskaite@gmail.com>
Co-authored-by: Jakub Roztocil <jakub@roztocil.co>

* Update README.rst

Co-authored-by: Jakub Roztocil <jakub@roztocil.co>

* Update README.rst

Co-authored-by: Jakub Roztocil <jakub@roztocil.co>

* Fix default HTTP method on empty data

Co-authored-by: Elena Lape <elapinskaite@gmail.com>
Co-authored-by: Jakub Roztocil <jakub@roztocil.co>
2021-05-24 14:29:54 +02:00
Mickaël Schoentgen
e2d43c14ce
Prefer usage of "python -m pip" instead of "pip" (#1059)
* Prefer usage of "python -m pip" instead of "pip"

It will prevent issues when users think that they are using
the correct `pip` version. It can refers to the one from the OS
Python installation, or even worse to a Python 2 installation.
Let's be clear on how to install stuff.

Also used short version of `pip` arguments, because we are all lazy :)

* Apply suggestions from code review
2021-05-05 14:17:04 +02:00
Jakub Roztocil
a32ad344dd
Update README.rst 2021-02-23 12:51:06 +01:00
Jakub Roztocil
c53fbe5ae3
Typo 2021-02-23 12:22:35 +01:00
Jakub Roztocil
3426030370 Fix README formatting 2021-02-06 11:13:04 +01:00
Jakub Roztocil
cf78a12e46
Show --check-status warning with --quiet as well. (#1026)
Fixes #1028
2021-01-31 00:58:56 +01:00
freddii
0401d7b31c
fixed typo (#1024) 2021-01-21 22:35:41 +01:00
Jakub Roztocil
795627f965 Update chat icon 2021-01-13 22:24:20 +01:00
Adam
21cc008cb2
Add Linux Solus install to README (#1018) 2021-01-13 21:52:00 +01:00
Elena Lape
44ae67685d
Add HTTPie Discord link to README (#1016)
* add discord link

* update link
2021-01-12 15:27:45 +01:00
Jakub Roztocil
6922a0c912 Switch from httpbin.org to pie.dev 2020-12-24 21:34:30 +01:00
Jakub Roztocil
1828da6a50 Update --stream example comment 2020-12-21 12:17:04 +01:00
Jakub Roztocil
0629f2ff42 Fix --stream example II 2020-12-21 12:14:41 +01:00
Jakub Roztocil
d71b7eee81 Fix --stream example
Close #1002
2020-12-21 12:12:11 +01:00
Jakub Roztocil
2409077a6d Clarify 2020-12-21 11:51:19 +01:00
Kevin Velghe
02971b938d
Fix documentation on file upload (#1000)
As documented later on in "File upload forms", the correct syntax to set
the mimetype of the upload is `field@file;type=filetype`
2020-12-21 11:47:47 +01:00
xcodz-dot
5d8bd0da7c
python -m pip (#1005) 2020-12-21 11:38:00 +01:00
Jakub Roztocil
311a5ede70 Simplify Hello World 2020-10-29 10:07:45 +01:00
Jakub Roztocil
f64c90010f Simplify Hello World 2020-10-29 10:06:26 +01:00
Jakub Roztocil
8456ddb27c Update brew instructions for dev 2020-10-25 21:48:09 +01:00
Jakub Roztocil
cf254680b7 Update homebrew 2020-10-25 21:43:20 +01:00
Jakub Roztocil
1573058811 v2.3.0 2020-10-25 21:12:38 +01:00
Jakub Roztocil
a69d6f44fd New Twitter handle — @httpie 2020-10-03 11:01:08 +02:00
Jakub Roztocil
507cd6e255 Fix table formatting
reStructuredText is a mess
2020-09-29 21:26:38 +02:00
Jakub Roztocil
75f1e02215 README 2020-09-28 12:55:39 +02:00
Jakub Roztocil
6925d930da Add support for streamed uploads, --chunked, finish --multipart, etc.
Close #201
Close #753
Close #684
Close #903
Related: #452
2020-09-28 12:16:57 +02:00
Jakub Roztocil
e4e40e5b06 Request content type 2020-09-25 14:44:22 +02:00
Jakub Roztocil
100872b5cf pep8 2020-08-19 10:39:13 +02:00
Jakub Roztocil
664cebfbcc Update README.rst 2020-08-19 10:31:20 +02:00
Jakub Roztocil
743f9738a3 Update README.rst 2020-08-19 10:30:40 +02:00
Jakub Roztocil
69445c106c Cleanup 2020-08-19 10:25:47 +02:00
Jakub Roztocil
1813cf6156 Add --multipart and --boundary 2020-08-19 10:22:50 +02:00
Jakub Roztocil
a23b0e39e5
Update README.rst 2020-08-17 13:34:23 +02:00
Jakub Roztocil
06dec4e6c6
Update README.rst 2020-08-17 13:31:51 +02:00
Jakub Roztocil
1e1dbfeba0
Update README.rst 2020-08-17 13:14:52 +02:00
Jakub Roztocil
6cd934d1b8 Add support for multipart upload streaming
Close #684, #201
2020-08-15 17:50:00 +02:00
Jakub Roztocil
d32c8cab12 Syntax 2020-08-15 15:34:31 +02:00
Jakub Roztocil
5ce7c190e9 Add a --quiet example 2020-08-15 15:33:24 +02:00
Jakub Roztocil
1aa1366f99 Finish --quiet 2020-08-15 15:26:29 +02:00
Nicolas Beltran
c90d039a0b fixed issues related to downloading and using quiet at the same time 2020-08-15 15:26:29 +02:00
Nicolas Beltran
7e38f9ccf0 Added additional tests for flag and better documentation 2020-08-15 15:26:29 +02:00
Nicolas Beltran
61e7cd786e Added a documentation entry and modified CHANGELOG 2020-08-15 15:26:29 +02:00
Nguyễn Hồng Quân
ebf2139fd5
Introduce CurliPie to convert from cURL to HTTPie (#843) 2020-08-14 15:27:49 +02:00
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