help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: emacs-w3m question


From: Emanuel Berg
Subject: Re: emacs-w3m question
Date: Mon, 07 Nov 2022 13:40:28 +0100
User-agent: Gnus/5.13 (Gnus v5.13)

Yuri Khan wrote:

>> To summarize: sites which use "brotli" compression don't
>> work; others do. There is no brotli handler in w3m.el, so
>> I added one, and that did the trick.
>
> After re-reading RFC 9110 § 12.5.3, it looks like the client
> should indicate its supported and preferred content
> encodings in an Accept-Encoding request header. Does w3m.el
> send one? If it doesn’t, the server may assume any encoding
> is acceptable.

M-x apropos-variable RET w3m encod RET

w3m-compatible-encoding-alist
  Variable: Alist of encodings and those supersets.
  Value: ((gb2312 . gbk) (iso-8859-1 . windows-1252)
  (iso-8859-8 . w ...
  
w3m-encoding-alist
  Variable: Alist of content encoding types and decoder symbols.
  Value: (("gzip" . gzip) ("x-gzip" . gzip) ("compress" .
  gzip) ("x- ...
  
w3m-encoding-type-alist
  User option: Alist of file suffixes and content encoding types.
  Value: (("\\.gz\\'" . "gzip") ("\\.bz2?\\'" . "bzip"))

-- 
underground experts united
https://dataswamp.org/~incal




reply via email to

[Prev in Thread] Current Thread [Next in Thread]