地方エンジニアの学習日記

興味ある技術の雑なメモだったりを書いてくブログ。たまに日記とガジェット紹介。

【curl】8.10.0が出ていた

curl.se

autotools: add `--enable-windows-unicode` option
curl: --help [option] displays documentation for given cmdline option
curl: add --skip-existing
curl: for -O, use "default" as filename when the URL has none
curl: make --rate accept "number of units"
curl: make --show-headers the same as --include
curl: support --dump-header % to direct to stderr
curl: support embedding a CA bundle and --dump-ca-embed
curl: support repeated use of the verbose option; -vv etc
curl: use libuv for parallel transfers with --test-event
getinfo: add CURLINFO_POSTTRANSFER_TIME_T
mbedtls: add CURLOPT_TLS13_CIPHERS support
rustls: add support for setting TLS version and ciphers
vtls: stop offering alpn http/1.1 for http2-prior-knowledge
wolfssl: add CURLOPT_TLS13_CIPHERS support
wolfssl: add support for ssl cert blob / ssl key blob options

github.com

これが面白かった。

curl 8.10.0より前では、URLがスラッシュで終わっている場合、URLにファイル名の部分がないためcurlはエラーを返していました。しかし、8.10.0からは、この状況ではcurlはファイル名をURLの最後のディレクトリ部分に設定し、それも欠けている場合にはcurl_response(拡張子なし)に設定するようになりました。

RFC 3986(Uniform Resource Identifier, URIの標準)では、スラッシュ (/) はリソースの階層構造を表すために使用されます。具体的には、スラッシュで終わるURLは通常ディレクトリやコレクションを意味し、スラッシュがない場合はファイルや特定のリソースを指す傾向があります。あくまでも傾向であって特にRFC違反とかではない。へぇという感じ。

tex2e.github.io

というのを書いていたら8.10.1というパッチバージョンが出ていた

curl.se