Internet Direct (Indy) Version 9.0.1 Beta
TIdNNTPServer.OnCommandHeadNo
Specifies the NNTP HEAD [nnn] command event handler.

property OnCommandHeadNo: TNumEvent;
Description
OnCommandHeadNo identifies the TDoByNoEvent 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 the news article with the specified relative message number.

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