Commit Graph

451 Commits

Author SHA1 Message Date
Jakub Roztocil
6c501d23c3 Change default XML indent to 2 spaces 2021-08-31 22:52:16 +02:00
Mickaël Schoentgen
d10e108b5f
Added support for XML formatting (#1129)
As a side effect, XHTML responses will be pretty-printed too.
2021-08-31 22:49:53 +02:00
Jakub Roztocil
8618f12fce Tweak format options docs 2021-08-24 17:18:45 +02:00
Mickaël Schoentgen
dac0d716c1
Add the formatting options section in the docs (#1131)
It will ease future changes and should improve reading/finding information.
2021-08-24 17:11:40 +02:00
Mickaël Schoentgen
64c31d554a Revert "Use http in the 'hello world' example to be consitent (#1109)"
This reverts commit 41c251ec7c.
2021-07-16 15:49:41 +02:00
henryhu712
41c251ec7c
Use http in the 'hello world' example to be consitent (#1109) 2021-07-15 16:17:05 +02:00
Mickaël Schoentgen
b7300c1096 Update Chocolatey command in the docs 2021-07-02 17:54:07 +02:00
Marcel Stör
5d4e7a9a18
Use echo -n in the docs (#1102)
I argue that you most likely don't want/need to send the trailing newline.
2021-07-02 10:31:38 +02:00
Jakub Roztocil
9c38da96b0 Remove snap installation method until package name fixed 2021-06-28 13:46:02 +02:00
Mickaël Schoentgen
e5bda98ee7
Mention snap install http in the docs (#1097) 2021-06-28 12:28:21 +02:00
Jakub Roztocil
b4c94e0f26 Mention choco install httpie in the docs 2021-06-26 13:12:05 +02:00
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