Hi - I had a bit of time to tweak Noah Sanci's PR28284 work, and I believe it addresses Mark's last set of comments (from a while ago). This follow-up patch corrects things like case sensitivity, spacing, \r\n processing, and tweaks documentation.
The gist of it is to add a new client api function debuginfod_get_headers(), documented to return x-debuginfod* headers from current or previous fetch requests. debuginfod-find prints those in -v verbose mode, and debuginfod relays them in federation. This stuff is an enabler for rgoldber's subsequent signature-passing/checking code, to which I plan to turn my attention next. Please see users/fche/try-pr28284d for this draft of the code. I'd like to keep it as two separate commits to preserve Noah's id in the git history, even though that makes it a bit harder to give a final review. git diff --stat origin/master...origin/users/fche/try-pr28284d debuginfod/ChangeLog | 22 ++++++++++++++++++++++ debuginfod/debuginfod-client.c | 24 ++++++++++++++++++------ debuginfod/debuginfod-find.c | 3 +++ debuginfod/debuginfod.cxx | 22 ++++++++++++++++++++++ debuginfod/debuginfod.h.in | 4 ++++ debuginfod/libdebuginfod.map | 3 +++ doc/ChangeLog | 10 ++++++++++ doc/debuginfod_find_debuginfo.3 | 14 ++++++++++++++ doc/debuginfod_get_headers.3 | 2 ++ tests/ChangeLog | 12 ++++++++++++ tests/run-debuginfod-response-headers.sh | 53 +++++++++++++++++++++++++++++++++++++++++++++-------- 11 files changed, 155 insertions(+), 14 deletions(-) - FChE