πŸš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #87217

Re: About compression with NNTP

#87217
From: Michael Baeuerle
Date: Fri, 13 Nov 2015 10:24
29 lines
2687 bytes
Ken Murchison wrote:
> On 11/12/2015 04:35 PM, Julien Γ‰LIE wrote:
> > Ken Murchison wrote:
> > > 
> > > The
> > > server is in a much better position to understand the content and is
> > > able to adjust the compression setting on the fly within the connection.
> > 
> > NNTP does not have the Binary content extension that IMAP has; my worry 
> > is that the server does not necessarily understand what it is sending. 
> > Otherwise, it would mean that the server performs decoding of 
> > MIME-encoded contents to see what it might be, and then adjust the 
> > compression level accordingly?
> 
> Why would it have to decode the MIME entity?  The server should be able 
> to tell from the Content-Type and Content-Encoding what is enclosed.

Unfortunately MIME allows things like "nested multipart". Looking at the
Content-Type field in the header and (if it is "multipart/*") at the
Content-Type fields of all top-level body parts may not reveal that
compressed content is present. Example:

multipart/mixed
   multipart/mixed
      text/plain
      application/gzip
   text/plain

Technical Details
Message-ID: <AABWRbUlclsAAArH.A1.flnews@WStation3.stz-e.de>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.(19219).mbox.7z!not-for-mail
References: <mvjp3s$n0u$1@news.trigofacile.com> <AABWHiG/QCkAACAT.A1.flnews@WStation2.stz-e.de> <mvmahl$iou$1@news.trigofacile.com> <87si5d41ll.fsf@hope.eyrie.org> <mvrm9s$i1l$1@news.trigofacile.com> <AABWIitSev0AAEcG.A1.flnews@WStation4.micha.freeshell.org> <n1vrgu$6fj$1@news.trigofacile.com> <AABWRFK5oaAAAAm3.A1.flnews@WStation3.stz-e.de> <n21ts0$gpr$1@news.trigofacile.com> <n22ns0$e1i$1@news.trigofacile.com> <n22p5l$fep$1@news.trigofacile.com> <n22t73$jqf$1@news.trigofacile.com> <n22vbi$m83$1@news.trigofacile.com> <n230ns$nna$1@news.trigofacile.com> <n2333k$qeu$1@news.trigofacile.com>

Show Full Headers
Complete Article Headers
Message-ID: <AABWRbUlclsAAArH.A1.flnews@WStation3.stz-e.de>
Subject: Re: About compression with NNTP
Date: Fri, 13 Nov 2015 11:24:09 +0100
From: Michael Baeuerle <michael.baeuerle@stz-e.de>
References: <mvjp3s$n0u$1@news.trigofacile.com> <AABWHiG/QCkAACAT.A1.flnews@WStation2.stz-e.de> <mvmahl$iou$1@news.trigofacile.com> <87si5d41ll.fsf@hope.eyrie.org> <mvrm9s$i1l$1@news.trigofacile.com> <AABWIitSev0AAEcG.A1.flnews@WStation4.micha.freeshell.org> <n1vrgu$6fj$1@news.trigofacile.com> <AABWRFK5oaAAAAm3.A1.flnews@WStation3.stz-e.de> <n21ts0$gpr$1@news.trigofacile.com> <n22ns0$e1i$1@news.trigofacile.com> <n22p5l$fep$1@news.trigofacile.com> <n22t73$jqf$1@news.trigofacile.com> <n22vbi$m83$1@news.trigofacile.com> <n230ns$nna$1@news.trigofacile.com> <n2333k$qeu$1@news.trigofacile.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.(19219).mbox.7z!not-for-mail
Newsgroups: news.software.nntp
Lines: 27
Reply-To: Michael Baeuerle <michael.baeuerle@gmx.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1; format=fixed
Content-Transfer-Encoding: 8bit
X-Trace: individual.net 5obfdZsLZxUwB609ujouDwM08HQGtcz/iN2A/PasSpVOUz9Eyk
X-Orig-Path: not-for-mail
Cancel-Lock: sha1:BvrYAxd5Zy74ZYOo2Y/i8Bt5inA= sha1:16I9HPU7k5rcqC5E4arYAeHtdSU=
Injection-Date: Fri, 13 Nov 2015 10:24:09 -0000
User-Agent: flnews/0.12 (for GNU/Linux)
X-Received-Body-CRC: 3070907920
X-Received-Bytes: 2546