看板 Anonymous
作者 愛在漫延.
標題 Re: 3/15紀錄
時間 2026-03-16 Mon. 11:56:13


[圖]



--

   -f, --fail
              (HTTP) Fail silently (no output at all) on server errors. This is mostly done to 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).

              Example:
               curl --fail https://example.com

              See also --fail-with-body.
※ 編輯: 愛在漫延 時間: 2026-03-16 15:57:25 (台灣)
※ 同主題文章:
06-21 19:57 聰明.
… ×2590
03-14 16:23 聰明.
03-14 16:52 c0c0chiatwn4.
03-16 00:06 聰明.
Re: 3/15紀錄
03-16 11:56 愛在漫延.
03-16 12:34 play_one.
03-16 19:08 聰明.
03-16 20:04 霧峰林家.
… ×193
愛在漫延.: Re: 3/15紀錄 - Anonymous板