diff options
author | Noah Sanci <nsanci@redhat.com> | 2021-07-28 14:46:05 -0400 |
---|---|---|
committer | Noah Sanci <nsanci@redhat.com> | 2021-08-27 14:32:29 -0400 |
commit | ed7638571f188e346dd466c195b9ebda028d1c65 (patch) | |
tree | 8592d39eb794d5ae36fda0a0aac344843f033bf8 /doc/debuginfod-find.1 | |
parent | d3f914023abcd6ae76b168da97518e5e7dbd761a (diff) | |
download | elfutils-nsanci/verbose-headers.tar.gz |
debuginfod: PR27277 - Describe retrieved files when verbosensanci/verbose-headers
There appear to exist use cases that intend to simply check for the
existence of content in a debuginfod server, without actually
downloading it. In HTTP land, the HEAD operation is the natural
expression of this.
Instead of implementing a HEAD/describe option, allow users, with enough
verbosity, to print the HTTP response headers upon retrieving a file.
E.g output:
HTTP/1.1 200 OK
Connection: Keep-Alive
Content-Length: 2428240
Cache-Control: public
Last-Modified: Sat, 15 May 2021 20:49:51 GMT
X-FILE: "file name"
X-FILE-SIZE: "byte length of file"
Content-Type: application/octet-stream
Date: Tue, 03 Aug 2021 18:50:36 GMT
https://sourceware.org/bugzilla/show_bug.cgi?id=27277
Signed-off-by: Noah Sanci <nsanci@redhat.com>
Diffstat (limited to 'doc/debuginfod-find.1')
-rw-r--r-- | doc/debuginfod-find.1 | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/debuginfod-find.1 b/doc/debuginfod-find.1 index a61673f5..957ec7e7 100644 --- a/doc/debuginfod-find.1 +++ b/doc/debuginfod-find.1 @@ -110,7 +110,8 @@ l l. .TP .B "\-v" -Increase verbosity, including printing frequent download-progress messages. +Increase verbosity, including printing frequent download-progress messages +and printing the http response headers from the server. .SH "SECURITY" |