顯示廣告
隱藏 ✕
看板 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 聰明. □ 6/21紀錄
  … ×2588
  03-16 00:06 聰明. □ 3/15紀錄
  03-16 12:34 play_one. Re 3/15紀錄
  03-16 19:08 聰明. □ 3/16紀錄
  03-16 21:10 染法. Re 3/16紀錄
  03-16 21:12 腸醫. Re 3/15紀錄
  … ×186
※ 看板: Anonymous 文章推薦值: 0 目前人氣: 0 累積人氣: 1 
r)回覆 e)編輯 d)刪除 M)收藏 ^x)轉錄 同主題: =)首篇 [)上篇 ])下篇