mirror of
https://github.com/curl/curl.git
synced 2026-08-25 01:33:31 +03:00
cmdline-docs: more options converted over
This commit is contained in:
parent
81e61cda39
commit
41b1f649bf
83 changed files with 1151 additions and 0 deletions
14
docs/cmdline-opts/fail.d
Normal file
14
docs/cmdline-opts/fail.d
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
Long: fail
|
||||
Short: f
|
||||
Protocols: HTTP
|
||||
Help: Fail silently (no output at all) on HTTP errors
|
||||
---
|
||||
Fail silently (no output at all) on server errors. This is mostly done to
|
||||
better enable scripts etc to better deal with failed attempts. In normal cases
|
||||
when an HTTP server fails to deliver a document, it returns an HTML document
|
||||
stating so (which often also describes why and more). This flag will prevent
|
||||
curl from outputting that and return error 22.
|
||||
|
||||
This method is not fail-safe and there are occasions where non-successful
|
||||
response codes will slip through, especially when authentication is involved
|
||||
(response codes 401 and 407).
|
||||
Loading…
Add table
Add a link
Reference in a new issue