Mercurial > hgrepos > Python2 > PyMuPDF
comparison mupdf-source/thirdparty/curl/docs/cmdline-opts/fail.d @ 3:2c135c81b16c
MERGE: upstream PyMuPDF 1.26.4 with MuPDF 1.26.7
| author | Franz Glasner <fzglas.hg@dom66.de> |
|---|---|
| date | Mon, 15 Sep 2025 11:44:09 +0200 |
| parents | b50eed0cc0ef |
| children |
comparison
equal
deleted
inserted
replaced
| 0:6015a75abc2d | 3:2c135c81b16c |
|---|---|
| 1 Long: fail | |
| 2 Short: f | |
| 3 Protocols: HTTP | |
| 4 Help: Fail silently (no output at all) on HTTP errors | |
| 5 --- | |
| 6 Fail silently (no output at all) on server errors. This is mostly done to | |
| 7 better enable scripts etc to better deal with failed attempts. In normal cases | |
| 8 when an HTTP server fails to deliver a document, it returns an HTML document | |
| 9 stating so (which often also describes why and more). This flag will prevent | |
| 10 curl from outputting that and return error 22. | |
| 11 | |
| 12 This method is not fail-safe and there are occasions where non-successful | |
| 13 response codes will slip through, especially when authentication is involved | |
| 14 (response codes 401 and 407). |
