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

--- Comment #8 from Frank Ch. Eigler <fche at redhat dot com> ---
I see that up at #c0, Mark did ask for this sort of thing.  It would allow
debuginfod to serve its own substantial home page, not just redirect
somewhere else.  If the idea is that the server be self-contained (not rely
on an external file/http server) but still serve a configurable home page,
under the proviso that it will be mime-type text/html and there's only one,
and no http type optimizations are expected, then it could be okay.

In that case, maybe fork the command line option

   --home-redirect URL
   --home-html FILE

where the latter case opens the FILE, sets content-type text/html in the
Response header, and passes its fd to libmicrohttpd to send the contents.
It would not need to get debuginfod to answer /local.html or whatever, it
would just answer / with the contents of /local.html.

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

Reply via email to