Internet Direct (Indy) Version 9.0.1 Beta
|
property OnCommandIHave: TBasicEvent;
IHAVE is used to inform the server that the client has an article with the specified message-id.
If the server desires a copy of that article, it will return a response instructing the client to send the entire article including headers and body. If the server does not want the article (if, for example, the server already has a copy of it), a response indicating that the article is not wanted should be returned.
Because the server may not be able to decide immediately that an article is inappropriate for posting or forwarding, it is acceptable to acknowledge the successful transfer of the article and to later silently discard it.
IHAVE differs from the POST command in that it is intended for use in transferring already-posted articles between hosts.
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