Article View: news.software.nntp
Article #29830Re: Content-Transfer-Encoding: binary
From: Curt Welch
Date: Thu, 16 Jul 1998 00:00
Date: Thu, 16 Jul 1998 00:00
40 lines
2779 bytes
2779 bytes
[news.software.nntp added to Newsgroups:] usenet@oneill.net (Clayton O'Neill) wrote: > I've been wondering for a while why an effort hasn't been made to make > readers and transport servers 8-bit clean and switch to > Content-Transfer-Encoding: binary for alt.binaries.*. Most of the > transport > software is 8 bit clean now, but I imagine a lot of the readers aren't, > but I imagine we'd see a mass conversion to any readers that did support > binary correctly, if for no other reason because of the decrease in > download times. Raw binary would only reduce the size by 25%. I doubt if that's enough of a savings to cause any type of conversion. I think the problems we would see when people posted with a raw binary format would far outweigh the savings in download times. And just because servers are 8 bit clean doesn't mean they can correctly deal with raw data. INN can't. NNTP is a line oriented protocol. When you feed nnrpd an article with a POST command it must have lines less than 1000 characters in length. If you feed it raw data, everything past character 1000 is ignored until it hits EOF or sees a \r\n. I don't think Usenet is ready for raw binary data in articles. You would really have to modify NNTP to include a Content-Length somehow on POST and IHAVE and TAKETHIS commands (or expect the servers to parse (and trust) the Mime headers - which is not the way to go). For that matter, looking at the code, nnrpd isn't even 8 bit clean for POSTS. It uses NUL to mark the end of the line. I don't know about how innd works with IHAVE/TAKETHIS. Of course having a content length argument on the IHAVE/CHECK/POST commands would have the nice side effect of allowing servers to reject articles based on size before they were received. -- Curt Welch http://CurtWelch.Com/ curt@kcwc.com Webmaster for http://NewsReader.Com/
Technical Details
Message-ID:
<19980716134243.087$lx@newsreader.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.mbox.zip!not-for-mailReferences:
<slrn6qs63j.8b9.usenet@hmmm.colo.erols.net>Show Full Headers
Complete Article Headers
Message-ID: <19980716134243.087$lx@newsreader.com>
Subject: Re: Content-Transfer-Encoding: binary
Date: Thu, 16 Jul 1998 00:00:00 +0000
From: curt@kcwc.com (Curt Welch)
References: <slrn6qs63j.8b9.usenet@hmmm.colo.erols.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
X-Deja-AN: 372090519
X-User: Curt@NewsReader.Com
X-Face: "p}G*1KH{+F7EYGKLb>ogDguabZ+%,?^epeFB!nzu`)`$=QcvL1KF6<0GH!Tbc!Sqo[|tV5 %IW48mQf3K=Ci&gZ7]]aazx@]Y-nq!r5{yH/#,?@lDdUDvOfByB2hVW0.@OM%{l/{cT'{w
Organization: NewsReader.Com
X-Url: http://CurtWelch.Com/
Newsgroups: news.software.readers,news.software.nntp