Internet Direct (Indy) Version 9.0.2 Beta
TIdNNTPServer.OnCommandHeadID
Specifies the NNTP HEAD <message-id> command event handler.

property OnCommandHeadID: TBasicEvent;
Description
OnCommandHeadID identifies the TDoByIDEvent event handler used to respond to the NNTP HEAD command, as described in RFC 977.

HEAD is used to retrieve the textual content of the headers for a news article with the specified message identifier.

Applications should assign a procedure to the event handler in order to respond to the NNTP command, or the server will return the default message:

  500 command not recognized