xf.li | 6c8fc1e | 2023-08-12 00:11:09 -0700 | [diff] [blame^] | 1 | c: Copyright (C) 1998 - 2022, Daniel Stenberg, <daniel@haxx.se>, et al. |
| 2 | SPDX-License-Identifier: curl |
| 3 | Long: post303 |
| 4 | Help: Do not switch to GET after following a 303 |
| 5 | Protocols: HTTP |
| 6 | See-also: post302 post301 location |
| 7 | Added: 7.26.0 |
| 8 | Category: http post |
| 9 | Example: --post303 --location -d "data" $URL |
| 10 | Multi: boolean |
| 11 | --- |
| 12 | Tells curl to violate RFC 7231/6.4.4 and not convert POST requests into GET |
| 13 | requests when following 303 redirections. A server may require a POST to |
| 14 | remain a POST after a 303 redirection. This option is meaningful only when |
| 15 | using --location. |