aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2015-09-03 19:52:23 +0200
committerDaniel Stenberg <daniel@haxx.se>2015-09-03 19:52:23 +0200
commit4ceddcf8caa02aa6e4b23b3d3449fbdf1d4ec174 (patch)
tree636262a3fc8819ad960148c345327fee954236a4
parente1a4bab86ab12c7217f6538c3b2bfc6c28db6878 (diff)
curl.1: update RFC references
-rw-r--r--docs/curl.16
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/curl.1 b/docs/curl.1
index 6b3feab33..c8ef78821 100644
--- a/docs/curl.1
+++ b/docs/curl.1
@@ -1263,21 +1263,21 @@ this option set you tell it not to do that.
(Added in 7.42.0)
.IP "--post301"
-(HTTP) Tells curl to respect RFC 2616/10.3.2 and not convert POST requests
+(HTTP) Tells curl to respect RFC 7230/6.4.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 require 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 "--post302"
-(HTTP) Tells curl to respect RFC 2616/10.3.2 and not convert POST requests
+(HTTP) Tells curl to respect RFC 7230/6.4.3 and not convert POST requests
into GET requests when following a 302 redirection. The non-RFC behaviour is
ubiquitous in web browsers, so curl does the conversion by default to maintain
consistency. However, a server may require a POST to remain a POST after such
a redirection. This option is meaningful only when using \fI-L, --location\fP
(Added in 7.19.1)
.IP "--post303"
-(HTTP) Tells curl to respect RFC 2616/10.3.2 and not convert POST requests
+(HTTP) Tells curl to respect RFC 7230/6.4.4 and not convert POST requests
into GET requests when following a 303 redirection. The non-RFC behaviour is
ubiquitous in web browsers, so curl does the conversion by default to maintain
consistency. However, a server may require a POST to remain a POST after such