[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-wget] [PATCH 06/25] Add file size computation in Metalink modul
From: |
Giuseppe Scrivano |
Subject: |
Re: [Bug-wget] [PATCH 06/25] Add file size computation in Metalink module |
Date: |
Sun, 11 Sep 2016 22:10:55 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) |
Hi Matthew,
Matthew White <address@hidden> writes:
> Matthew White <address@hidden>
>
> From f9da9729d70d79ce245877672a2d611ca9c4667f Mon Sep 17 00:00:00 2001
> From: Matthew White <address@hidden>
> Date: Tue, 16 Aug 2016 23:12:56 +0200
> Subject: [PATCH 06/25] Add file size computation in Metalink module
>
> * src/metalink.c (retrieve_from_metalink): Add file size computation
> * doc/metalink.txt: Update document. Remove resolved bugs
>
> Reject downloaded files when they do not agree with their Metalink/XML
> metalink:size: https://tools.ietf.org/html/rfc5854#section-4.2.14
>
> At the moment of writing, Metalink/HTTP headers do not provide a file
> size field. This information could be obtained from the Content-Length
> header field: https://tools.ietf.org/html/rfc6249#section-7
> ---
> doc/metalink.txt | 11 ++++-------
> src/metalink.c | 35 +++++++++++++++++++++++++++++++++++
> 2 files changed, 39 insertions(+), 7 deletions(-)
ACK
Giuseppe