1
0
mirror of https://github.com/moparisthebest/curl synced 2025-02-28 17:31:46 -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 See-also: post302 post301 location
Added: 7.26.0 Added: 7.26.0
--- ---
Tells curl to respect RFC 7231/6.4.4 and not convert POST requests into GET Tells curl to violate RFC 7231/6.4.4 and not convert POST requests into GET
requests when following a 303 redirection. The non-RFC behaviour is ubiquitous requests when following 303 redirections. A server may require a POST to
in web browsers, so curl does the conversion by default to maintain remain a POST after a 303 redirection. This option is meaningful only when
consistency. However, a server may require a POST to remain a POST after such using --location.
a redirection. This option is meaningful only when using --location.