[pacman-dev] [PATCH 1/1] support http header to indicate an expected failure
Christian Hesse
list at eworm.de
Mon May 24 18:31:03 UTC 2021
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
--
main(a){char*c=/* Schoene Gruesse */"B?IJj;MEH"
"CX:;",b;for(a/* Best regards my address: */=0;b=c[a++];)
putchar(b-1/(/* Chris cc -ox -xc - && ./x */b/42*2-3)*42);}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <https://lists.archlinux.org/pipermail/pacman-dev/attachments/20210524/9606f516/attachment.sig>
More information about the pacman-dev
mailing list