0

Windowsで出力ターゲットファイルを指定すると、wgetすべてうまくいきます:

$ wget https://github.com/apache/logging-log4j2/archive/refs/tags/rel/2.14.1.tar.gz -O 2.14.1.tar.gz

ただし、Linux の場合のようにオプションを削除すると、ファイルが見つかりません。-O

$ wget https://github.com/apache/logging-log4j2/archive/refs/tags/rel/2.14.1.tar.gz

StatusCode        : 200
StatusDescription : OK
Content           : {31, 139, 8, 0...}
RawContent        : HTTP/1.1 200 OK
                    Access-Control-Allow-Origin: https://render.githubusercontent.com
                    content-disposition: attachment; filename=logging-log4j2-rel-2.14.1.tar.gz
                    Content-Security-Policy: default-src 'no...
Headers           : {[Access-Control-Allow-Origin, https://render.githubusercontent.com],
                    [content-disposition, attachment; filename=logging-log4j2-rel-2.14.1.tar.gz],
                    [Content-Security-Policy, default-src 'none'; style-src 'unsafe-inline'; sandbox],
                    [Strict-Transport-Security, max-age=31536000]...}
RawContentLength  : 11362216
4

0 に答える 0