[エラー]curl: (18) HTTP/2 stream 1 was not closed cleanly before end of the underlying stream
# curl: (18) HTTP/2 stream 1 was not closed cleanly before end of the underlying stream
# Warning: Got more output options than URLs
#!/bin/bash
###指定無し
/usr/bin/curl -L -o "/path/to/save" "http://foo.hoge.coom/save" --connect-timeout 20
## curl: (18) HTTP/2 stream 1 was not closed cleanly before end of the underlying stream
## Warning: Got more output options than URLs
###指定無しでエラーが出る場合はHTTP/1.1を指定してみる
/usr/bin/curl -L -o "/path/to/save" "http://foo.hoge.coom/save" --http1.1 --connect-timeout 20
###HTTP/2 指定時
/usr/bin/curl -L -o "/path/to/save" "http://foo.hoge.coom/save" --http2 --connect-timeout 20
| 固定リンク
「CURL」カテゴリの記事
- [curl]rapid-cloudビデオ・ダウンロードヘルパー(簡易式)(2025.01.16)
- CURLでのURLチェック (404以外の応答があるURLのみ収集)(2024.12.03)
- [CURL]ヘッダー付きダウンロード(2024.11.23)
- 【CURL】基本的な事項(2023.10.24)
- [CURL]リダイレクト先URL(2023.10.19)