Class: Net::NNTP::Head

Inherits:
RetrievalRequest show all
Defined in:
lib/net/nntp/request.rb

Overview

RFC 3977

HEAD request

Valid Responses: HeaderResponse, NoGroupSelected, InvalidArticle, InvalidNumberOrRange, NoSuchMessageid

Instance Method Summary collapse

Methods inherited from Request

#capability, #command, #dotstuff, #msgid_or_range, #range, #valid_response?

Constructor Details

#initialize(param = nil) ⇒ Head

  • param is either a message-id or an article number in the selected group.

see Net::NNTP::Article.new



458
459
460
# File 'lib/net/nntp/request.rb', line 458

def initialize(param=nil)
  super 'HEAD', param
end