On Wed, 22 Nov 2017, Pierre-Elliott Bécue wrote: > > - either the user is explicit (compression="gzip" attribute, or > > compression=None/False for no compression) > > - or the user relies on compression="auto" (default value) in which > > case it should just rely on the filename extension that we should pass > > along in some way. > > pabs was also suggesting to have something doing the decompression > implicitly and thus providing no argument for compression. > > Which one would you prefer?
I prefer the hybrid approach that I suggested. We have an attribute controlling the use of compression, its default value is "auto" which means that compression is used when the file extension indicates compressed content, but it's always possible to override this by adding an explicit value to this attribute. Cheers, -- Raphaël Hertzog ◈ Debian Developer Support Debian LTS: https://www.freexian.com/services/debian-lts.html Learn to master Debian: https://debian-handbook.info/get/