Class: Net::NNTP::Head
- Inherits:
-
RetrievalRequest
- Object
- Request
- RetrievalRequest
- Net::NNTP::Head
- Defined in:
- lib/net/nntp/request.rb
Overview
HEAD request
Valid Responses: HeaderResponse, NoGroupSelected, InvalidArticle, InvalidNumberOrRange, NoSuchMessageid
Instance Method Summary collapse
-
#initialize(param = nil) ⇒ Head
constructor
-
param
is either a message-id or an article number in the selected group.
-
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 |