1
0
mirror of https://github.com/moparisthebest/curl synced 2025-02-28 09:21:50 -05:00

post303.d: clarify that this is an RFC violation

... and not the other way around, which this previously said.

Reported-by: Vasiliy Faronov
Fixes #2723
Closes #2726
This commit is contained in:
Daniel Stenberg 2018-07-09 23:57:44 +02:00
parent e0a4bba730
commit 522236f55e
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2

View File

@ -4,8 +4,7 @@ Protocols: HTTP
See-also: post302 post301 location
Added: 7.26.0
---
Tells curl to respect RFC 7231/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
a redirection. This option is meaningful only when using --location.
Tells curl to violate RFC 7231/6.4.4 and not convert POST requests into GET
requests when following 303 redirections. A server may require a POST to
remain a POST after a 303 redirection. This option is meaningful only when
using --location.