On 29Nov2018 1230, Gregory P. Smith wrote:

On Thu, Nov 29, 2018 at 2:58 AM Andrew Svetlov <andrew.svet...@gmail.com <mailto:andrew.svet...@gmail.com>> wrote:

    5 cents about lz4 alternatives: Broli (mentioned above) is widely
    supported by web.

    https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Accept-Encoding
    mentions it along with gzip and deflate methods.
    I don't recall lz4 or Zstd metioning in this context.

    Both Chrome/Chromium and Firefox accepts it by default (didn't check
    Microsoft products yet).


Acceptance by multiple popular browsers is a good reason to /also/ propose brotli support in the stdlib. Though it'd probably make sense to actually _support_ Accept-Encoding based on available compression modules within the stdlib http.client (and potentially server) as a prerequisite for that reasoning. https://github.com/python/cpython/blob/master/Lib/http/client.py#L1168.

FWIW, Brotli has been supported in Microsoft Edge since early last year:

https://blogs.windows.com/msedgedev/2016/12/20/introducing-brotli-compression/

-gps
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to