[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-wget] [PATCH 23/25] New: --trust-server-names saves Metalink/HTTP x
From: |
Matthew White |
Subject: |
[Bug-wget] [PATCH 23/25] New: --trust-server-names saves Metalink/HTTP xml files using the "name" field |
Date: |
Sat, 10 Sep 2016 12:59:58 +0200 |
[Coverity Scan is ok, make syntax-check is ok, make check-valgrind is ok,
contrib/check-hard is ok]
This allows to use the value of the "name" field, part of a Metalink/HTTP
application/metalink4+xml Link, as file name for the Metalink file to be saved.
This conforms to the RFC6249 standard:
https://tools.ietf.org/html/rfc6249#section-4
e.g.
$ wget --metalink-over-http --metalink-index=inf --trust-server-names <url of a
Metalink/HTTP header with application/metlaink4+xml links>
Link: <http://example.com/file.ext.meta4>; rel=describedby;
type="application/metalink4+xml"; name="newname.meta4"
When --trust-server-names is used, file.ext.meta4 is saved as newname.meta4.
Regards,
Matthew
--
Matthew White <address@hidden>
0023-New-trust-server-names-saves-Metalink-HTTP-xml-files.patch
Description: Text Data
pgp0C38uRNL6M.pgp
Description: PGP signature
- [Bug-wget] [PATCH 23/25] New: --trust-server-names saves Metalink/HTTP xml files using the "name" field,
Matthew White <=