Mercurial > hgrepos > Python2 > PyMuPDF
comparison mupdf-source/thirdparty/curl/docs/cmdline-opts/proto-redir.d @ 2:b50eed0cc0ef upstream
ADD: MuPDF v1.26.7: the MuPDF source as downloaded by a default build of PyMuPDF 1.26.4.
The directory name has changed: no version number in the expanded directory now.
| author | Franz Glasner <fzglas.hg@dom66.de> |
|---|---|
| date | Mon, 15 Sep 2025 11:43:07 +0200 |
| parents | |
| children |
comparison
equal
deleted
inserted
replaced
| 1:1d09e1dec1d9 | 2:b50eed0cc0ef |
|---|---|
| 1 Long: proto-redir | |
| 2 Arg: <protocols> | |
| 3 Help: Enable/disable PROTOCOLS on redirect | |
| 4 Added: 7.20.2 | |
| 5 --- | |
| 6 Tells curl to limit what protocols it may use on redirect. Protocols denied by | |
| 7 --proto are not overridden by this option. See --proto for how protocols are | |
| 8 represented. | |
| 9 | |
| 10 Example, allow only HTTP and HTTPS on redirect: | |
| 11 | |
| 12 curl --proto-redir -all,http,https http://example.com | |
| 13 | |
| 14 By default curl will allow HTTP, HTTPS, FTP and FTPS on redirect (7.65.2). | |
| 15 Older versions of curl allowed all protocols on redirect except several | |
| 16 disabled for security reasons: Since 7.19.4 FILE and SCP are disabled, and | |
| 17 since 7.40.0 SMB and SMBS are also disabled. Specifying \fIall\fP or \fI+all\fP | |
| 18 enables all protocols on redirect, including those disabled for security. |
