[Bug 273580] pkg: Impossible to get the value from Last-Modified HTTP header FreeBSD 14.0 stable

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 05 Sep 2023 15:42:42 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=273580

Ed Maste <emaste@freebsd.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |emaste@freebsd.org

--- Comment #1 from Ed Maste <emaste@freebsd.org> ---
See pkg commit
https://github.com/freebsd/pkg/commit/0c262d7ebd7f0580901d23af21e8f58eeea533c7

libpkg: don't complain about Last-Modified on failed fetches

We avoid complaining for HTTP 304, but let's also not complain if we've
failed to fetch entirely (either out of retries or simply cancelled) to
reduce the noise a little bit when packages simply haven't been built
yet.  More importantly, it avoids leading one to believe that it's
perhaps a misconfigured header setting rather than simply missing.

-- 
You are receiving this mail because:
You are the assignee for the bug.