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
View this message in rfc822 format
On 9/25/2024 1:46 PM, Sebastián Monía wrote:
> Jim Porter <jporterbugs <at> gmail.com> writes:
>> I was actually thinking something more general, like a defcustom named
>> 'eww-guess-content-type-functions', which would be a list of functions
>> where the first non-nil result is the guessed Content-Type. That way,
>> we could extend this to other content types (for example, maybe we'd
>> want to look for the magic headers for various image formats too; we
>> don't have to do that in this bug).
>
> I think the functions for the new defcustom should accept the
> content-type, headers (since both are already parsed by that time), and
> the entire buffer. If you agree, I can give your suggestion a shot, if
> not let me know what do you think would work.
I think we'd only want to run this hook if the Content-Type is absent
from the headers (its job is to *guess* a content type, after all), so
I'd expect the signature to be the list of headers + the buffer.
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.