24 May
2021
24 May
'21
6:50 p.m.
On 05/24/21 at 08:31pm, Christian Hesse wrote:
Christian Hesse <list@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.