In the Olden Days (IE6 or so) some browsers took the liberty to guess the content type, and override the header provided by the server.... we won't get that back.
MetaCPAN does recognize content types for images, as for example in Prima's form builder, so maybe they could be nudged into mapping .html files to Content-type: text/html.
In the meantime, since this is about Emacs, you can do
(shr-render-buffer (url-retrieve-synchronously "https://fastapi.metacpan.org/source/SEANO/Sepia-0.992/Sepia.html"))
...and read the content in Emacs. This is a bit dirty because it also renders the HTTP headers, but I'm too lazy to fix that right now. If you activate perl-doc-mode in that buffer, you can also get an imenu table of contents.
In reply to Re: Display bundled html files on MetaCPAN
by haj
in thread Display bundled html files on MetaCPAN
by LanX
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |