🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
2 messages
2 total messages Started by Joshua Cranmer Mon, 22 Feb 2010 17:17
Content-Type in control messages
#82834
Author: Joshua Cranmer
Date: Mon, 22 Feb 2010 17:17
12 lines
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
Re: Content-Type in control messages
#82833
Author: Julien ÉLIE
Date: Mon, 22 Feb 2010 18:35
15 lines
1860 bytes
Hi Joshua,

> When sending NNTP control messages (specifically a cancel control
> message), would there be any downsides to adding a Content-Type to the
> control message?

A control message is a valid article that contains a Control: header field
so I do not see why it would cause problems (it would otherwise be a bug
in the agent that does not understand it).

-- 
Julien ÉLIE

« Dans l'algèbre comme dans la police, il faut identifier X. » (André Frédérique) 
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads