This article is a mirror article of machine translation, please click here to jump to the original article.

View: 3653|Reply: 0

Use curl to check the HTTP/3 support of the test site

[Copy link]
Posted on 7/18/2024 9:17:14 AM | | | |
Static cURL with HTTP3: Static cURL binaries built with HTTP3, brotli, and zstd support.

GitHub download address:The hyperlink login is visible.

curl-windows-x86_64-8.8.0.tar.xz (2.88 MB, Number of downloads: 0, 售价: 5 粒MB)

The command is as follows:

As shown below:



The difference between http3 and http3-only commands

--http3: When using --http3, curl will start a second transfer attempt within a few hundred milliseconds of the start of the QUIC connection, which uses HTTP/2 or HTTP/1, so that if the connection attempt via QUIC fails or is unbearably slow, the connection using the older HTTP version can still succeed and perform the transfer. This allows users to use the operation with confidence --http3.
--http3-only: Explicitly provide not to try any older versions in parallel, but if a QUIC connection cannot be established, the transfer will fail immediately.

To put it simply, when using --http3 for testing, if the target website does not support it, it will automatically downgrade to use HTTP/2 or HTTP/1, and using --http3-only is to force the use of the HTTP/3 protocol, and if the target website does not support it, it cannot be accessed.

(End)





Previous:Nginx's Web Resource Caching (CDN)
Next:2024 Python Silicon Valley Software + Tutorials + Courseware
Disclaimer:
All software, programming materials or articles published by Code Farmer Network are only for learning and research purposes; The above content shall not be used for commercial or illegal purposes, otherwise, users shall bear all consequences. The information on this site comes from the Internet, and copyright disputes have nothing to do with this site. You must completely delete the above content from your computer within 24 hours of downloading. If you like the program, please support genuine software, purchase registration, and get better genuine services. If there is any infringement, please contact us by email.

Mail To:help@itsvse.com