aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2007-10-02 09:57:48 +0000
committerDaniel Stenberg <daniel@haxx.se>2007-10-02 09:57:48 +0000
commit30a39fe8773a4063d87c0352593275ebd8a0fe64 (patch)
tree95fb8660ad5e9895c53dfe324c5aa7e8cc492b1d /docs
parent0489081d3fa710ec8695d42ea93d8ef34f23cae5 (diff)
document --post301, based on the phrasing in curl_easy_setopt.3 for
CURLOPT_POST301 written by Philip Langdale
Diffstat (limited to 'docs')
-rw-r--r--docs/curl.17
1 files changed, 7 insertions, 0 deletions
diff --git a/docs/curl.1 b/docs/curl.1
index 4af427458..f415d6f30 100644
--- a/docs/curl.1
+++ b/docs/curl.1
@@ -847,6 +847,13 @@ You may use this option as many times as you have number of URLs.
(SSL/SSH) Pass phrase for the private key
If this option is used several times, the last one will be used.
+.IP "--post301"
+Tells curl to respect RFC 2616/10.3.2 and not convert POST requests into GET
+requests when following a 301 redirection. The non-RFC behaviour is ubiquitous
+in web browsers, so curl does the conversion by default to maintain
+consistency. However, a server may requires a POST to remain a POST after such
+a redirection. This option is meaningful only when using \fI-L/--location\fP
+(Added in 7.17.1)
.IP "--proxy-anyauth"
Tells curl to pick a suitable authentication method when communicating with
the given proxy. This will cause an extra request/response round-trip. (Added