You've already forked httpie-cli
mirror of
https://github.com/httpie/cli.git
synced 2025-08-10 22:42:05 +02:00
Deprecate --history-print (#1380)
This commit is contained in:
@@ -1665,14 +1665,6 @@ $ http --all --follow pie.dev/redirect/3
|
||||
`--raw='data'`, and `@/file/path`.
|
||||
|
||||
### Redirected Input
|
||||
|
||||
In addition to crafting structured [JSON](#json) and [forms](#forms) requests with the [request items](#request-items) syntax, you can provide a raw request body that will be sent without further processing.
|
||||
These two approaches for specifying request data (i.e., structured and raw) cannot be combined.
|
||||
|
||||
There are three methods for passing raw request data: piping via `stdin`,
|
||||
`--raw='data'`, and `@/file/path`.
|
||||
|
||||
### Redirected Input
|
||||
|
||||
The universal method for passing request data is through redirected `stdin`
|
||||
(standard input)—piping.
|
||||
|
@@ -298,16 +298,6 @@ Digest auth is used \fB\,--auth\/\fR=digest), etc.
|
||||
|
||||
|
||||
|
||||
.IP "\fB\,--history-print\/\fR, \fB\,-P\/\fR \fI\,WHAT\/\fR"
|
||||
|
||||
|
||||
The same as\fB\,--print\/\fR,\fB\,-p\/\fR but applies only to intermediary requests/responses
|
||||
(such as redirects) when their inclusion is enabled with\fB\,--all\/\fR. If this
|
||||
options is not specified, then they are formatted the same way as the final
|
||||
response.
|
||||
|
||||
|
||||
|
||||
.IP "\fB\,--stream\/\fR, \fB\,-S\/\fR"
|
||||
|
||||
|
||||
|
@@ -298,16 +298,6 @@ Digest auth is used \fB\,--auth\/\fR=digest), etc.
|
||||
|
||||
|
||||
|
||||
.IP "\fB\,--history-print\/\fR, \fB\,-P\/\fR \fI\,WHAT\/\fR"
|
||||
|
||||
|
||||
The same as\fB\,--print\/\fR,\fB\,-p\/\fR but applies only to intermediary requests/responses
|
||||
(such as redirects) when their inclusion is enabled with\fB\,--all\/\fR. If this
|
||||
options is not specified, then they are formatted the same way as the final
|
||||
response.
|
||||
|
||||
|
||||
|
||||
.IP "\fB\,--stream\/\fR, \fB\,-S\/\fR"
|
||||
|
||||
|
||||
|
@@ -494,14 +494,7 @@ output_options.add_argument(
|
||||
'-P',
|
||||
dest='output_options_history',
|
||||
metavar='WHAT',
|
||||
short_help='--print for intermediary requests/responses.',
|
||||
help="""
|
||||
The same as --print, -p but applies only to intermediary requests/responses
|
||||
(such as redirects) when their inclusion is enabled with --all. If this
|
||||
options is not specified, then they are formatted the same way as the final
|
||||
response.
|
||||
|
||||
""",
|
||||
help=Qualifiers.SUPPRESS,
|
||||
)
|
||||
output_options.add_argument(
|
||||
'--stream',
|
||||
|
Reference in New Issue
Block a user