Re: [Python-ideas] HTTP compression support for http.server

2017-08-07 Thread Pierre Quentel
2017-08-05 12:49 GMT+02:00 Barry : > Does you code allow suporting more then gzip? For example Brotli > compression is becoming inmportant for some web apps. > > Barry > In the latest version of the Pull Request, only gzip is supported. But your comment makes me think that the code should probably

Re: [Python-ideas] HTTP compression support for http.server

2017-08-05 Thread Barry
Does you code allow suporting more then gzip? For example Brotli compression is becoming inmportant for some web apps. Barry > On 24 Jul 2017, at 17:30, Chris Angelico wrote: > >> On Tue, Jul 25, 2017 at 2:20 AM, Chris Barker wrote: >> On Thu, Jul 20, 2017 at 12:15 AM, Pierre Quentel >> wrot

Re: [Python-ideas] HTTP compression support for http.server

2017-07-24 Thread Chris Angelico
On Tue, Jul 25, 2017 at 2:20 AM, Chris Barker wrote: > On Thu, Jul 20, 2017 at 12:15 AM, Pierre Quentel > wrote: >> - if so, should it be supported by default ? It is the case in the PR, >> where a number of content types, eg text/html, are compressed if the user >> agent accepts the gzip "encodi

Re: [Python-ideas] HTTP compression support for http.server

2017-07-24 Thread Chris Barker
The opinion of some random guy on the list... On Thu, Jul 20, 2017 at 12:15 AM, Pierre Quentel wrote: > I have been suggested to require feedback from core devs : > - should HTTP compression be supported ? > Yes. You are quite right, it's pretty standard stuff these days. > - if so, should it

Re: [Python-ideas] HTTP compression support for http.server

2017-07-20 Thread Terry Reedy
On 7/20/2017 3:15 AM, Pierre Quentel wrote: I have reported an issue in the tracker (https://bugs.python.org/issue30576) and proposed a Pull Request on the Github CPython repository (https://github.com/python/cpython/pull/2078) to make http.server in the standard library support HTTP compressio