Brook Shiliew Cheap Zhi Meeting Nan mitmproxy client Network Activity Monitor iOS Old App Downloader SSH Terminal Subtitle 菜根谭 Socks5 Configurator IPvBar File Link Markdown Editor IP AI nami joker brook ipio nico z zoro hancock mad httpserver google hosts

curl stable version supports HTTP3

Updated at: 2023-12-15

Background

curl has always been a great tool for testing HTTP networks. In some companies where the front and back ends are separate, when documenting HTTP API, the difference in understanding between the two developers can lead to repetitive discussions. "What a fucking documents?" they might say. Hey, it's better to just write a line of curl command, paste it into the command line, hit enter to check if the API is working properly. Thus, curl appears almost as a reference implementation.

Today, the latest version of curl supports HTTP3, and it's no longer just experimental. However, as of this writing, many package managers still cannot download the new version. Of course, you have nami.

Installation

You can install curl on Linux, macOS, and Windows using nami:

nami install curl

Using HTTP3

You may need to reopen a terminal

curl --http3-only https://http3.ooo -v

Notes

  • HTTP proxies and Socks5 proxies, due to poor support for HTTP3, will eventually fade out of history.

  • This static build curl does not use system CA, if you debug ipio, brook, shiliew, try:

    curl --cacert ~/.nami/bin/ca.pem ...
    

https://curl.se/docs/sslcerts.html

© TxThinking, Inc. All Rights Reserved.