[pacman-dev] [PATCH 1/1] support http header to indicate an expected failure

Andrew Gregory andrew.gregory.8 at gmail.com
Mon May 24 18:50:49 UTC 2021


On 05/24/21 at 08:31pm, Christian Hesse wrote:
> Christian Hesse <list at eworm.de> on Fri, 2021/05/21 10:06:
> > By setting an extra HTTP header 'X-Pacman-Expected-Failure' the server can
> > indicate that the failure is expected. The next server is tried without
> > error message and without increasing the server's error count.
> > 
> > This can be used by servers that are not expected to be complete, for
> > example when serving a local cache.
> 
> Any comment on this?
> Where to document the behavior?
> 
> BTW, this is the matching branch for pacredir:
> https://github.com/eworm-de/pacredir/commits/404-header

I'm not a fan of having this be server-side.  I'd rather see
https://bugs.archlinux.org/task/23407 implemented.


More information about the pacman-dev mailing list