Article View: news.software.nntp
Article #82834Content-Type in control messages
From: Joshua Cranmer
Date: Mon, 22 Feb 2010 17:17
Date: Mon, 22 Feb 2010 17:17
12 lines
1800 bytes
1800 bytes
When sending NNTP control messages (specifically a cancel control message), would there be any downsides to adding a Content-Type to the control message? I'm asking because there apparently exists a server which is rejecting the standard control message (without a Content-Type header at all) because it's not "text/plain". This is probably just filter script idiocy, though. -- Beware of bugs in the above code; I have only proved it correct, not tried it. -- Donald E. Knuth
Technical Details
Message-ID:
<hlue7s$o1$1@news-int.gatech.edu>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!num2.nntp.dca.giganews.com!num1.nntp.dca.giganews.com!number.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx02.iad01.newshosting.com!newshosting.com!198.186.194.250.MISMATCH!news-xxxfer.readnews.com!news-out.readnews.com!transit4.readnews.com!panix!bloom-beacon.mit.edu!news-ext.gatech.edu!news-int.gatech.edu!not-for-mailShow Full Headers
Complete Article Headers
Message-ID: <hlue7s$o1$1@news-int.gatech.edu> Subject: Content-Type in control messages Date: Mon, 22 Feb 2010 12:17:48 -0500 From: Joshua Cranmer <Pidgeot18@verizon.invalid> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!num2.nntp.dca.giganews.com!num1.nntp.dca.giganews.com!number.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx02.iad01.newshosting.com!newshosting.com!198.186.194.250.MISMATCH!news-xxxfer.readnews.com!news-out.readnews.com!transit4.readnews.com!panix!bloom-beacon.mit.edu!news-ext.gatech.edu!news-int.gatech.edu!not-for-mail Newsgroups: news.software.nntp Organization: Georgia Institute of Technology Lines: 12 NNTP-Posting-Host: res-128-61-91-23.res.gatech.edu Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: news-int.gatech.edu 1266859195 769 128.61.91.23 (22 Feb 2010 17:19:55 GMT) X-Complaints-To: usenet@news-int.gatech.edu NNTP-Posting-Date: Mon, 22 Feb 2010 17:19:55 +0000 (UTC) User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; X-Original-Bytes: 1500