Article View: news.software.nntp
Article #86536Re: HEAD command for transit-mode servers
From: Russ Allbery
Date: Mon, 13 Apr 2015 19:33
Date: Mon, 13 Apr 2015 19:33
22 lines
2084 bytes
2084 bytes
Julien ΓLIE <iulius@nom-de-mon-site.com.invalid> writes:
>> I probably will implement HEAD in hope that no server actually going to
>> use it, but I would prefer not to do so.
> Why not implement RFC 4643 (authentication) and advertise "AUTHINFO
> USER" in your capabilities? Then you answer 480 in response to a HEAD
> command (or 501 in case the syntax is incorrect). And you always reject
> authentication (481).
> I believe this is RFC-compliant.
You could also just return 430 to all HEAD requests. That should be
compliant; it just means that you don't have the article on file. If
you're writing a pure transit server with no article storage beyond a
buffer for articles in transit, I think that's a reasonable response.
--
Russ Allbery (eagle@eyrie.org) <http://www.eyrie.org/~eagle/>
Please post questions rather than mailing me directly.
<http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Technical Details
Message-ID:
<87d237rfgs.fsf@hope.eyrie.org>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20150601.mbox.gz!border1.nntp.dca1.giganews.com!nntp.giganews.com!news.glorb.com!usenet.stanford.edu!usenet-its.stanford.edu!.POSTED!not-for-mailReferences:
<mgaq1b$3tm$1@news.mixmin.net> <87a8yec6ux.fsf@hope.eyrie.org> <mgfafa$tue$1@news.mixmin.net> <mgh200$uop$1@news.trigofacile.com>Show Full Headers
Complete Article Headers
Message-ID: <87d237rfgs.fsf@hope.eyrie.org> Subject: Re: HEAD command for transit-mode servers Date: Mon, 13 Apr 2015 12:33:07 -0700 From: Russ Allbery <eagle@eyrie.org> References: <mgaq1b$3tm$1@news.mixmin.net> <87a8yec6ux.fsf@hope.eyrie.org> <mgfafa$tue$1@news.mixmin.net> <mgh200$uop$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.20150601.mbox.gz!border1.nntp.dca1.giganews.com!nntp.giganews.com!news.glorb.com!usenet.stanford.edu!usenet-its.stanford.edu!.POSTED!not-for-mail Newsgroups: news.software.nntp Organization: The Eyrie Lines: 22 NNTP-Posting-Host: lothlorien.stanford.edu Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: usenet-its.stanford.edu 1428953587 32596 68.65.164.14 (13 Apr 2015 X-Complaints-To: news@usenet-its.stanford.edu User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux) Cancel-Lock: sha1:QnI1XLoTYMuTnTE96K4ZUDDk8yw=