diff options
author | Daniel Stenberg <daniel@haxx.se> | 2014-08-23 00:00:00 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2014-08-23 00:00:00 +0200 |
commit | 5be48639b199bc8d9f1fe24f26211fa40c20a2fc (patch) | |
tree | 4cb5afb929b34a73353889f592e32103a405cce1 /docs | |
parent | 1a073a20db78bb0d0250bda27def4f03ac2b6001 (diff) |
curl.1: mention the --post30x options within the --location desc
Diffstat (limited to 'docs')
-rw-r--r-- | docs/curl.1 | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/curl.1 b/docs/curl.1 index c4d1b4269..c48daa41a 100644 --- a/docs/curl.1 +++ b/docs/curl.1 @@ -865,6 +865,10 @@ When curl follows a redirect and the request is not a plain GET (for example POST or PUT), it will do the following request with a GET if the HTTP response was 301, 302, or 303. If the response code was any other 3xx code, curl will re-send the following request using the same unmodified method. + +You can tell curl to not change the non-GET request method to GET after a 30x +response by using the dedicated options for that: \fI--post301\fP, +\fI--post302\fP and \fI-post303\fP. .IP "--libcurl <file>" Append this option to any ordinary curl command line, and you will get a libcurl-using C source code written to the file that does the equivalent |