https://sourceware.org/bugzilla/show_bug.cgi?id=33635

--- Comment #7 from Frank Ch. Eigler <fche at redhat dot com> ---
> but when I run `debuginfod -p 8002 -h local.html` and visit
> localhost:8002/, I get "webapi error, unrecognized '/local.html'".
> 
> Debuginfod replies with the expected 302 response containing "Location:
> /local.html", but when the client follows the redirect and requests
> /local.html, the server doesn't know how to handle that path.

This really is fine.  HTTP level redirection works at the level of URLs
(to be serviced by a full web server), not files.  What you're asking
for is for debuginfod to serve *additional* arbitrary named files out
of the local filesystem, intuit all the other http metadata that a web
server would (timestamp, mime content-type, etc.).

IMO debuginfod need not try to do all that.  (Plus there are security
implications.)

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Reply via email to