GNU bug report logs -
#73133
29.2; EWW fails to render some webpages
Previous Next
Reported by: Ganimard <ganimard <at> tuta.io>
Date: Mon, 9 Sep 2024 04:09:03 UTC
Severity: normal
Found in version 29.2
Done: Eli Zaretskii <eliz <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
Message #68 received at 73133 <at> debbugs.gnu.org (full text, mbox):
On 10/19/2024 10:56 AM, Sebastián Monía wrote:
> Thank you everyone for your help in this process.
One last thought before I merge this: I notice that when we can't guess
a Content-Type, we use "text/plain" as a fallback. Per RFC-9110[1], the
fallback should be "application/octet-stream".
I tested this out in EWW, and we still display
"application/octet-stream" pages as text in EWW, so there's no
difference in behavior by default vs "text/plain". However, users who
customize 'eww-use-external-browser-for-content-type' could make pages
like that open externally, which I think makes sense. For non-HTML pages
with no actual Content-Type header, they're at least reasonably likely
to be binary files, so you'd probably want to download them rather than
display them.
Does anyone else have any thoughts on the relative merits of falling
back to "application/octet-stream" vs "text/plain"? If we go with the
former, I can update the patch when I merge.
[1] https://www.rfc-editor.org/rfc/rfc9110#section-8.3-5
This bug report was last modified 259 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.